0

If I only have 1 web app (or native app), why would I want to use access tokens as opposed to id tokens? The app should be able to call all methods in my WebApi. Maybe all users shouldn't be able to call all WebApi methods but access tokens don't help w/ that (as far as I know).

I could see value if I had multiple apps and I only wanted each app to have access to certain WebApi methods but not for the single app case.

spottedmahn
  • 14,823
  • 13
  • 108
  • 178

1 Answers1

2

If, logically, the front-end and back-end apps are the same application (i.e. they share the application identifier), then you don't have to issue an access token, as long as you don't want to implement any access decisions in the back-end app using scopes since an ID token isn't issued with these.

Chris Padgett
  • 14,186
  • 1
  • 15
  • 28