Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Overview

PBS Account is a PBS's OAuth2 provider (thought though, it also supports authentication via Google and Facebook Oauth2), and ; it can be used to implement login on station site and/or for Passport.

...

To get started:

  • Request a client id, client secret, and scopes from PBS Support. 
  • Provide a redirect URI in your request:  this is the URL you want your users to land on once they have successfully logged in to your site
  • Develop your implementation, using the PBS Account QA site, until you are ready for production.

After we process your request, we'll give you:

  • Client id - given to you by a PBS Account Admin

  • Client secret - granted to you by a PBS Account Admin

  • Scope(s): this denotes what you can do with your access token; currently we require 'account' and station name (e.g. 'wnet') scopes
  • Access token - actually, this is dynamically provided via the OAuth2 workflow (smile)

Use these endpoints in your implementation:

  • Authorization endpoint: /oauth2/authorize/
  • Token exchange endpoint: /oauth2/token/

Login snapshot

What's happening in the back-end

 

PBS Internal detailed technical docs

...

PIDS PBS Account Login

 

 

 

...