mirror of https://github.com/ghostfolio/ghostfolio
1 changed files with 1 additions and 0 deletions
@ -1,3 +1,4 @@ |
|||||
export function getOidcDiscoveryUrl(issuer: string) { |
export function getOidcDiscoveryUrl(issuer: string) { |
||||
|
// Remove trailing slashes
|
||||
return `${issuer.replace(/\/+$/, '')}/.well-known/openid-configuration`; |
return `${issuer.replace(/\/+$/, '')}/.well-known/openid-configuration`; |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue