Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh Token Flow between interconnected OAuth2 Proxies #11

Open
NicolasLiampotis opened this issue Apr 22, 2024 · 0 comments
Open

Refresh Token Flow between interconnected OAuth2 Proxies #11

NicolasLiampotis opened this issue Apr 22, 2024 · 0 comments
Labels
AARC-G073 Guidelines for refreshing tokens between OAuth 2.0 proxies

Comments

@NicolasLiampotis
Copy link

Problem
Let's consider a typical scenario where a service (OAuth2 client) connected to the Infrastructure Proxy interacts with a resource server through a chain of proxies (Infrastructure Proxy to Community AAI). The client requests an access token and a refresh token (e.g. using the offline_access scope) from the Infrastructure Proxy:

  • SAML Connection: If the Infrastructure Proxy is connected to the Community AAI using SAML, there's no mechanism for the Infrastructure Proxy to forward the request for a refresh token to the Community AAI.
  • OIDC Connection:
    • It's currently unclear whether the Infrastructure Proxy should forward the request for the refresh token to the Community AAI.
    • It's also unclear how the Infrastructure Proxy interacts with the Community AAI when the OAuth client uses the refresh token to obtain a new access token.

A draft document outlining a proposed approach is available at:
https://docs.google.com/document/d/1dg4iLmqbE5AkgRASNu5JhxaZV3jVXSHKmYe3utWN5VU/edit

The document includes sequence diagrams for obtaining and using refresh tokens, relying on token introspection before issuing new access tokens.

@NicolasLiampotis NicolasLiampotis added the AARC-G073 Guidelines for refreshing tokens between OAuth 2.0 proxies label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AARC-G073 Guidelines for refreshing tokens between OAuth 2.0 proxies
Projects
None yet
Development

No branches or pull requests

1 participant