Fix SSO generating invalid URLs. (#7639)

This commit is contained in:
Doug 2023-08-09 11:15:03 +01:00 committed by GitHub
parent d3e64c114f
commit 41b36e0f18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -50,7 +50,7 @@ final class SSOAuthenticationService: NSObject {
var ssoRedirectPath = SSOURLConstants.Paths.redirect
if let identityProvider = identityProvider {
if let identityProvider = identityProvider, !identityProvider.isEmpty {
ssoRedirectPath.append("/\(identityProvider)")
}

View file

@ -0,0 +1 @@
Fix bug in SSO URL generation that was non-compliant with the spec.