Documentation icon indicating copy to clipboard operation
Documentation copied to clipboard

Updated tutorial for js Client

Open ezrichie2006 opened this issue 8 years ago • 0 comments

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

ezrichie2006 avatar May 02 '16 18:05 ezrichie2006