Last active
June 3, 2020 15:53
-
-
Save panduroab/22af9ec926c26ce79a6d0507604a41e0 to your computer and use it in GitHub Desktop.
Keycloak OpenId-Connect Auth endpoint
This file contains hidden or 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
| //Configure the Keycloak client app as: Access Type public and Implicit Flow Enabled as true | |
| let authParams = { | |
| client_id: 'electron', | |
| redirect_uri: 'http://localhost', | |
| response_type: 'token', | |
| scope: 'openid', | |
| nonce: 'random_string' //Random string chain | |
| } | |
| let url = `${authConfig["auth-server-url"]}realms/${authConfig['realm']}/protocol/openid-connect/auth?${querystring.encode(authParams)}`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment