Skip to content
This repository has been archived by the owner on Dec 14, 2017. It is now read-only.

Updated tutorial for js Client #200

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from

Commits on May 2, 2016

  1. Updated tutorial for js Client

    Modified:
    
    ```var settings = {
        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 committed May 2, 2016
    Configuration menu
    Copy the full SHA
    2b29821 View commit details
    Browse the repository at this point in the history