mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Merge pull request #4817 from pengufrost/4785_fix_sso_redirect
This commit is contained in:
commit
2abaff826e
3 changed files with 3 additions and 2 deletions
|
@ -51,7 +51,7 @@ final class SSOAuthenticationService: NSObject {
|
|||
var ssoRedirectPath = SSOURLConstants.Paths.redirect
|
||||
|
||||
if let identityProvider = identityProvider {
|
||||
ssoRedirectPath.append(identityProvider)
|
||||
ssoRedirectPath.append("/\(identityProvider)")
|
||||
}
|
||||
|
||||
authenticationComponent.path = ssoRedirectPath
|
||||
|
|
|
@ -24,6 +24,6 @@ enum SSOURLConstants {
|
|||
}
|
||||
|
||||
enum Paths {
|
||||
static let redirect = "/_matrix/client/r0/login/sso/redirect/"
|
||||
static let redirect = "/_matrix/client/r0/login/sso/redirect"
|
||||
}
|
||||
}
|
||||
|
|
1
changelog.d/4785.bugfix
Normal file
1
changelog.d/4785.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
SSO: Fix redirection issue when logging in with single sign on. Contributed by Chelsea Finnie.
|
Loading…
Reference in a new issue