Created
September 16, 2022 20:46
-
-
Save austincunningham/ecc6ee9e6c4fd2432b4cd31183bb0f61 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const keycloakIssuer = await Issuer.discover("http://127.0.0.1:8080/realms/keycloak-express") | |
// I just comment out the line in the client | |
const client = new keycloakIssuer.Client({ | |
client_id: 'keycloak-express', | |
client_secret: 'long_secret-here', | |
redirect_uris: ['http://127.0.0.1:3000/auth/callback'], | |
//post_logout_redirect_uris: ['http://127.0.0.1:3000/logout/callback'], | |
response_types: ['code'], | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment