Skip to content

Commit

Permalink
Fix SSO generating invalid URLs.
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave committed Aug 8, 2023
1 parent d3e64c1 commit ac3d674
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)")
}

Expand Down

0 comments on commit ac3d674

Please sign in to comment.