Accepting OpenID access tokens¶
For integration, we need a way to accept OpenID access tokens.
Customer wants to use PingFederate but ideally we should be able to support generic OpenID Connect.
The flow here is that the user logs in through the Open ID Connect SSO in another application. That application has the user's access token. The access token will be passed to Arvados. Arvados must identify the user.It looks like the way to do that is to call back to the UserInfo endpoint. It is unclear if there's a standard path so this might need to be something the admin configures to be able to work with different OpenID Connect providers.
- "Note: The OAuth 2.0 specifications do not define a standard mechanism for access token validation. The process described in this section is specific to a PingFederate implementation." -- PingFederate
- "The UserInfo Endpoint MUST accept Access Tokens as OAuth 2.0 Bearer Token Usage [RFC6750]" -- OpenID Connect
Seems like we can either accept the OpenID token directly, check it against the authorization server, and then cache it, or add a new "login" scheme that takes the OpenID token and issues an Arvados token.
Open source OpenID servers (for testing):
Updated by Tom Clegg over 2 years ago · 3 revisions