1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2025-03-06 07:56:51 +00:00
synapse/changelog.d/18197.feature
Andrew Morgan 154e23f6d7
Add redirect_uri option to oidc_providers entries (#18197)
Allows overriding the `redirect_uri` parameter sent to both the
authorization and token endpoints of the IdP. Typically this parameter
is hardcoded to `<public_baseurl>/_synapse/client/oidc/callback`.

Yet it can be useful in certain contexts to allow a different callback
URL. For instance, if you would like to intercept the authorization code
returned from the IdP and do something with it, before eventually
calling Synapse's OIDC callback URL yourself.

This change enables enterprise use cases but does not change the default
behaviour.

---

Best reviewed commit-by-commit.

---------

Co-authored-by: Eric Eastwood <erice@element.io>
2025-03-03 09:40:48 +00:00

1 line
No EOL
129 B
Gherkin

Add support for specifying/overriding `redirect_uri` in the authorization and token requests against an OpenID identity provider.