To enable staff users and members login using Identity providers, you must provide a link ( or a button) to your users that will redirect them to GoPilot so they can login through the Identity Provider.

The location of the links have the following format:

 STAFF: 
 https://gopilot.net/dialog/authorize?response_type=code&redirect_uri={YOUR ADMIN URL}&scope=email&client_id={CLIENT ID OF THE APPLICATION YOU CREATED}
 MEMBERS:
 https://gopilot.net/dialog/authorize?response_type=code&redirect_uri={YOUR SITE URL}%2Fgopilot-sso%2F&scope=email&client_id={CLIENT ID OF THE APPLICATION YOU CREATED}

For example:

STAFF:
https://gopilot.net/dialog/authorize?response_type=code&redirect_uri=https://mybeautifulghostsite.com/ghost/&scope=email&client_id=ABCDEFGHIJKLM
MEMBERS:
https://gopilot.net/dialog/authorize?response_type=code&redirect_uri=https://mybeautifulghostsite.com%2Fgopilot-sso%2F&scope=email&client_id=ABCDEFGHIJKLM

Once a user clicks on the link you provided, he/she is redirected to GoPilot, there will be presented with a login window

User clicks on one of the configured providers and will be taken to the providers login page. If the user is already logged into the provider in a different tab, user  bypasses that.

After this user will be presented with a consent screen asking permission to provide consent so user's email can be passed to your Ghost installation


After user accepts this, he/she will be taken back to your Ghost site and will automatically login to administration console or login as a member if the email address of the user is matched with an staff account.