Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement social login #3890

Merged
merged 31 commits into from Jan 8, 2021
Merged

Implement social login #3890

merged 31 commits into from Jan 8, 2021

Conversation

SBiOSoftWhare
Copy link
Contributor

@SBiOSoftWhare SBiOSoftWhare commented Dec 18, 2020

Implement #3846

Requires matrix-org/matrix-ios-kit#757

This PR can be reviewed in this order:

  • Custom scheme URL
  • SSO
  • Social login:
    • Social login UI
    • Social login integration into AuthenticationVC

Simulator Screen Shot - iPhone 12 Pro - 2020-12-18 at 19 03 41
Simulator Screen Shot - iPhone 12 Pro - 2020-12-18 at 19 03 46
Simulator Screen Shot - iPhone 12 Pro - 2020-12-18 at 19 04 08
Simulator Screen Shot - iPhone 12 Pro - 2020-12-18 at 19 09 59
Simulator Screen Shot - iPhone 12 Pro - 2020-12-18 at 19 11 42
Simulator Screen Shot - iPhone 12 Pro - 2020-12-18 at 19 15 42
Simulator Screen Shot - iPhone 12 Pro - 2020-12-18 at 19 15 51
Simulator Screen Shot - iPhone 12 Pro - 2020-12-18 at 19 15 58

@SBiOSoftWhare SBiOSoftWhare marked this pull request as draft December 18, 2020 18:19
@SBiOSoftWhare SBiOSoftWhare marked this pull request as ready for review January 7, 2021 15:06
@manuroe manuroe requested review from ismailgulek and removed request for ismailgulek, gileluard and manuroe January 8, 2021 10:22
Riot/Categories/UIImage.swift Outdated Show resolved Hide resolved
override func layoutSubviews() {
super.layoutSubviews()

self.layer.cornerRadius = Constants.cornerRadius
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason for not moving this line into commonInit?

static let redirectURL = "redirectUrl"
}

enum Pathes {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a typo on Pathes

public typealias SSOAuthentificationSessionCompletionHandler = (URL?, Error?) -> Void

/// An interface the session uses to ask a delegate for a presentation context.
protocol SSOAuthenticationSessionContextProviding {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Others named as Authentification. Maybe you missed this one. Totally optional.

@SBiOSoftWhare SBiOSoftWhare merged commit 63da5b7 into develop Jan 8, 2021
@SBiOSoftWhare SBiOSoftWhare deleted the element_3846 branch January 8, 2021 16:48
@domoritz
Copy link

This is awesome but I fear many people may get confused with the checkbox. I think it would be good to switch to a standard toggle or checkbox UI element: #3913.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants