What Does the SSO Plugin Expect for Oauth2?



  • I'm trying to do some Oauth2 integration, and I need to know what a few of these variables are expecting in this part of the code:

    oauth2: {
    authorizationURL: 'https://mywebsite.com/oauth/authorize', <-- Does that look right?
    tokenURL: '[WHAT GOES HERE?]',
    clientID: 'CLIENT-ID',
    clientSecret: 'THE-SECRET'
    },
    
    // what might userRoute look like?!
    userRoute: ''	// This is the address to your app's "user profile" API endpoint (expects JSON)
    

    Thank you!


 

| |