Can you use okta-auth-js with other OAuth2.0 Auth Code Flow providers?

Viewed 95

I am building an sdk which allows the user to create a specialized single page application. I am using okta-auth-js and @okta/okta-react.

Will this code work with other Oauth2.0 providers?

eg:

const oktaAuth = new OktaAuth({
  issuer: 'http://notokta.com/oauth2/default',
  clientId: '12345',
  redirectUri: 'derp', 
  theOtherConfigs: 'derp',
});

// The remaining okta-react boilerplate
0 Answers
Related