Documentation
Documentation copied to clipboard
Updated tutorial for js Client
Modified:
authority: 'https://localhost:44300',
client_id: 'js',
popup_redirect_uri: 'http://localhost:56668/popup.html',
response_type: 'id_token', scope: 'openid profile', //this should be scope: 'openid profile email',
filter_protocol_claims: true
};```
Also:
- `popup_redirect_uri` is the redirect URL used when using the `openPopupForTokenAsync` method. If you prefer not having a popup and redirecting the user in the main window, you can use the `redirect_uri` property and the `redirectForTokenAsync` method //this should actually be redirectForToken. There is no Async method.
- `response_type` defines in our case that we only expect an identity token back