Skip to content

Commit

Permalink
Change GSIS endpoints from www1.gsis.gr to oauth2.gsis.gr (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Apr 10, 2024
1 parent 8fddf9f commit d057fb8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d057fb8

Please sign in to comment.