Skip to content
Snippets Groups Projects
  • Andrew Morgan's avatar
    154e23f6
    Add `redirect_uri` option to `oidc_providers` entries (#18197) · 154e23f6
    Andrew Morgan authored
    
    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: default avatarEric Eastwood <erice@element.io>
    Add `redirect_uri` option to `oidc_providers` entries (#18197)
    Andrew Morgan authored
    
    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: default avatarEric Eastwood <erice@element.io>