OIDC scenario with multiple resource servers
Cantor, Scott
cantor.2 at osu.edu
Tue Jun 17 12:56:49 UTC 2025
> My question is mostly: Is sharing an OIDC secret a bad idea?
It's not intended certainly.
You don’t have multiple resource servers here. An OIDC RP is not really a resource server, that's an OAuth concept for a system you want to access from an OAuth client (the RP in this case, App1).
> How should this be done? Is this a "two-legged" scenario?
Depends if you count the browser, but it's four-legged essentially, it's the original OAuth use case (what was called three-legged) but adding an authorization server into the mix instead of App2 issuing its own tokens.
App1 would include a resource parameter with its request so that the access token issued to App1 will be usable to access App2 on behalf of the user.
Using a JWT access token lets it carry custom claims about the user to communicate that to App2 without the user actually interacting with it at all or it needing access to the UserInfo endpoint, which it would not have. App2 could also introspect the token in lieu of using JWT format though.
-- Scott
More information about the users
mailing list