mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-23 11:39:32 +02:00
authenticate: fix authenticate_internal_service_url for all in one (#4003)
This commit is contained in:
parent
74fe336f5f
commit
62ca7ffaa2
5 changed files with 57 additions and 46 deletions
|
@ -75,7 +75,8 @@ func (b *Builder) buildPomeriumHTTPRoutes(options *config.Options, host string)
|
|||
}
|
||||
}
|
||||
// if we're handling authentication, add the oauth2 callback url
|
||||
authenticateURL, err := options.GetInternalAuthenticateURL()
|
||||
// as the callback url is from the IdP, it is expected only on the public authenticate URL endpoint
|
||||
authenticateURL, err := options.GetAuthenticateURL()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue