mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 16:58:31 +02:00
fix(oidc): add trailing slash to OIDCAuthBasePath to work with paths like /authorize
This commit is contained in:
@@ -68,9 +68,9 @@ func (auth *OIDCProvider) getAppScopedCookieName(baseName string) string {
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
OIDCAuthInitPath = "/"
|
OIDCAuthInitPath = "/"
|
||||||
OIDCAuthBasePath = "/auth"
|
OIDCAuthBasePath = "/auth/"
|
||||||
OIDCPostAuthPath = OIDCAuthBasePath + "/callback"
|
OIDCPostAuthPath = OIDCAuthBasePath + "callback"
|
||||||
OIDCLogoutPath = OIDCAuthBasePath + "/logout"
|
OIDCLogoutPath = OIDCAuthBasePath + "logout"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
Reference in New Issue
Block a user