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

Dynamic Scopes support #2960

Open
2 tasks done
loafoe opened this issue May 19, 2023 · 0 comments
Open
2 tasks done

Dynamic Scopes support #2960

loafoe opened this issue May 19, 2023 · 0 comments

Comments

@loafoe
Copy link

loafoe commented May 19, 2023

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.

Problem Description

Dex has an exhaustive list of scopes it supports. These scopes are all defined in the OIDC spec. Many IDPs support additional scopes. In some cases this include dynamic scopes which can change depending on the application or a specific flow. It would be great if Dex can support these additional scopes using an opt-in configuration mechanism.

Proposed Solution

The idea would be to extend the OAuth2 configuration with a list of allowed scope (prefixes). This would allow the Dex operator to still verify the scopes passed by the client to have certain well-known prefixes.

Alternatives Considered

No alternatives exist to support this other than using a non Dex solution.

Additional Information

Created a DEP #2961 for this

Created a PR #2962 with an initial implementation (to be refined further if needed)

loafoe added a commit to philips-forks/dex that referenced this issue May 19, 2023
loafoe added a commit to philips-forks/dex that referenced this issue May 19, 2023
loafoe added a commit to philips-forks/dex that referenced this issue Jun 20, 2023
loafoe added a commit to philips-forks/dex that referenced this issue Aug 15, 2023
loafoe added a commit to philips-forks/dex that referenced this issue Aug 15, 2023
loafoe added a commit to philips-forks/dex that referenced this issue Sep 1, 2023
loafoe added a commit to philips-forks/dex that referenced this issue Oct 13, 2023
loafoe added a commit to philips-forks/dex that referenced this issue Oct 26, 2023
loafoe added a commit to philips-forks/dex that referenced this issue Jan 23, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Jan 27, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Feb 7, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Feb 10, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Feb 19, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Mar 5, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Apr 29, 2024
loafoe added a commit to philips-forks/dex that referenced this issue May 16, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Jul 8, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Jul 16, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Jul 29, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Aug 23, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Aug 26, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Aug 26, 2024
commit cac00fb
Author: Andy Lo-A-Foe <[email protected]>
Date:   Fri May 19 11:29:30 2023 +0200

    Dynamic Scopes support dexidp#2960

    Signed-off-by: Andy Lo-A-Foe <[email protected]>
loafoe added a commit to philips-forks/dex that referenced this issue Aug 26, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Aug 26, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Aug 26, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Aug 30, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Aug 30, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Sep 11, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Sep 12, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Oct 3, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Oct 3, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Oct 28, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Oct 28, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Oct 30, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Oct 30, 2024
loafoe added a commit to philips-forks/dex that referenced this issue Jan 20, 2025
loafoe added a commit to philips-forks/dex that referenced this issue Jan 20, 2025
loafoe added a commit to philips-forks/dex that referenced this issue Jan 22, 2025
loafoe added a commit to philips-forks/dex that referenced this issue Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant