diff --git a/src/main/java/gr/cti/nts/keycloak/idp/social/gsis/GsisGovuserIdentityProvider.java b/src/main/java/gr/cti/nts/keycloak/idp/social/gsis/GsisGovuserIdentityProvider.java index af245a4..a637743 100644 --- a/src/main/java/gr/cti/nts/keycloak/idp/social/gsis/GsisGovuserIdentityProvider.java +++ b/src/main/java/gr/cti/nts/keycloak/idp/social/gsis/GsisGovuserIdentityProvider.java @@ -21,17 +21,17 @@ public class GsisGovuserIdentityProvider extends GsisAbstractIdentityProvider { - public static final String AUTH_URL = "https://www1.gsis.gr/oauth2servergov/oauth/authorize"; + public static final String AUTH_URL = "https://oauth2.gsis.gr/oauth2servergov/oauth/authorize"; - public static final String TOKEN_URL = "https://www1.gsis.gr/oauth2servergov/oauth/token"; + public static final String TOKEN_URL = "https://oauth2.gsis.gr/oauth2servergov/oauth/token"; public static final String DEFAULT_SCOPE = ""; private static final String USER_INFO_URL = - "https://www1.gsis.gr/oauth2servergov/userinfo?format=xml"; + "https://oauth2.gsis.gr/oauth2servergov/userinfo?format=xml"; private static final String LOGOUT_URL = - "https://www1.gsis.gr/oauth2servergov/logout/{clientId}/"; + "https://oauth2.gsis.gr/oauth2servergov/logout/{clientId}/"; public GsisGovuserIdentityProvider(KeycloakSession session, OAuth2IdentityProviderConfig config) { super(session, config); diff --git a/src/main/java/gr/cti/nts/keycloak/idp/social/gsis/GsisTaxisIdentityProvider.java b/src/main/java/gr/cti/nts/keycloak/idp/social/gsis/GsisTaxisIdentityProvider.java index 65427af..d77d192 100644 --- a/src/main/java/gr/cti/nts/keycloak/idp/social/gsis/GsisTaxisIdentityProvider.java +++ b/src/main/java/gr/cti/nts/keycloak/idp/social/gsis/GsisTaxisIdentityProvider.java @@ -21,16 +21,16 @@ public class GsisTaxisIdentityProvider extends GsisAbstractIdentityProvider { - public static final String AUTH_URL = "https://www1.gsis.gr/oauth2server/oauth/authorize"; + public static final String AUTH_URL = "https://oauth2.gsis.gr/oauth2server/oauth/authorize"; - public static final String TOKEN_URL = "https://www1.gsis.gr/oauth2server/oauth/token"; + public static final String TOKEN_URL = "https://oauth2.gsis.gr/oauth2server/oauth/token"; public static final String DEFAULT_SCOPE = ""; private static final String USER_INFO_URL = - "https://www1.gsis.gr/oauth2server/userinfo?format=xml"; + "https://oauth2.gsis.gr/oauth2server/userinfo?format=xml"; - private static final String LOGOUT_URL = "https://www1.gsis.gr/oauth2server/logout/{clientId}/"; + private static final String LOGOUT_URL = "https://oauth2.gsis.gr/oauth2server/logout/{clientId}/"; public GsisTaxisIdentityProvider(KeycloakSession session, OAuth2IdentityProviderConfig config) { super(session, config);