DEV Community

Discussion on: ⚡️ How to call an OAuth based API in Vue.js?

Collapse
 
frenchcooc profile image
Corentin

To explain further my point about why OAuth is hard for developers, dealing with an OAuth based API requires to understand at least 7 concepts:

  1. An OAuth application
  2. Application credentials (aka cliendId/clientSecret)
  3. OAuth-scopes
  4. Redirect URL
  5. Callback URL
  6. access_token
  7. refresh_token (because access token expires)

Only after understanding all of these concepts (and coding them accordingly), a developer will be able to start using the API.

Collapse
 
mburszley profile image
Maximilian Burszley

Don't forget claims and token (usually JWT) decoding, and maybe throw Kerberos in there.