Skip to content

Commit

Permalink
Merge pull request #18111 from mvdbeek/oidc_schema_fix_backport
Browse files Browse the repository at this point in the history
[24.0] Backport OIDC schema fix
  • Loading branch information
mvdbeek authored May 9, 2024
2 parents b9808b3 + f7b1f5e commit 777b18d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
7 changes: 7 additions & 0 deletions lib/galaxy/authnz/xsd/oidc_backends_config.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="tenant_id" minOccurs="0" type="xs:string">
<xs:annotation>
<xs:documentation>
Tenant ID for the IdP.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pkce_support" minOccurs="0" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Expand Down
7 changes: 4 additions & 3 deletions lib/galaxy/config/sample/oidc_backends_config.xml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,13 @@ Please mind `http` and `https`.
<client_id> ... </client_id>
<client_secret> ... </client_secret>
<redirect_uri>http://localhost:8080/authnz/azure/callback</redirect_uri>
<!-- Azure client_id, client_secret, and api_url can be obtained by folowing the instructions at
<!-- Azure client_id, client_secret, and tenant_id can be obtained by folowing the instructions at
https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app
The api_url will typiclly be https://login.microsoftonline.com/{tenant_id}/oauth2/v2.0/authorize
The required API URL will be automatically constructed from the provided tenant_id. In previous Galaxy versions
the entire "api_url" had to be provided including the tenant ID, this is no longer a valid configuration option.
-->
<api_url> ... </api_url>
<tenant_id> ... </tenant_id>
</provider>

<!-- Documentation: https://docs.egi.eu/providers/check-in/sp -->
Expand Down

0 comments on commit 777b18d

Please sign in to comment.