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

Refacto OIDC #1398

Closed
wants to merge 29 commits into from
Closed

Refacto OIDC #1398

wants to merge 29 commits into from

Conversation

natacha-beck
Copy link
Contributor

This PR replace #1396 one.

It is a way to generalize the usage of alternative identity provider.

It allow the CBRAIN administartor to have a config file oidc.yml with the following information:

OIDC_name:
    authorize_uri:                  "https://.../authorize"
    token_uri:                      "https://.../token"
    logout_uri:                     "https://...logout"
    scope:                          "urn:globus:auth:scope:auth.globus.org:view_identities openid email profile"
    client_secret:                  <%= ENV["globus_secret_key"] %>
    client_id:                      <%= ENV["globus_client_id"] %>
    identity_provider:              "identity_provider"
    identity_provider_display_name: "identity_provider_display_name"
    preferred_username:             "preferred_username"
    link_to:                        "www.globus.org"
    link_to_uri:                    "https://www.globus.org/"

Note Multiple identity provider can co-exist, but the client_id should be unique across all identity provider.

@natacha-beck natacha-beck requested a review from prioux June 26, 2024 13:58
@prioux
Copy link
Member

prioux commented Jul 16, 2024

Is this PR still valid? There is another one in #1405 That is better right?

@prioux
Copy link
Member

prioux commented Jul 16, 2024

I am pretty sure this is obsolete.

@prioux prioux closed this Jul 16, 2024
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

Successfully merging this pull request may close these issues.

2 participants