mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 15:22:39 +00:00
Fix SSO generating invalid URLs. (#7639)
This commit is contained in:
parent
d3e64c114f
commit
41b36e0f18
2 changed files with 2 additions and 1 deletions
|
@ -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)")
|
||||
}
|
||||
|
||||
|
|
1
changelog.d/pr-7639.bugfix
Normal file
1
changelog.d/pr-7639.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Fix bug in SSO URL generation that was non-compliant with the spec.
|
Loading…
Reference in a new issue