This repository was archived by the owner on Jan 26, 2021. It is now read-only.
feat: Social Logins Implementation#150
Open
PaRaDoX50 wants to merge 3 commits intoanitab-org:developfrom
Open
Conversation
Contributor
|
@yugantarjain does the password feature break on iOS too? Any workaround? |
Contributor
@anitab-org/mentorship-ios-maintainers Could anyone of you confirm if this was the case on ios too? If yes any workarounds? Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Added Google Sign In to the app. Was not able to implement Apple Sign In as it requires setting up a paid apple developers account.
This change depends on PR 719 of mentorship-backend which is not merged yet.Therefore, merged PR 719's code with the forked mentorship-backend repo and used it as backend.
For setting up google sign in for android:
1.) Create a google console project.
2.) Create OAuth client id for web app(Use this client id in backend) and android(by putting in correct application id and sha1 code).
3.) Under res/values/strings.xml put
(As you need a backend client id for extracting idToken after google sign in, refer documentation) .
4.) Make sure you use the same web app client id in backend.
For iOS:
I have not tested the code in iOS as a mac is not available to me.
Fixes #137 (Not completely)
Flutter Channel:
Type of Change:
Code/Quality Assurance Only
How Has This Been Tested?
Sign In:

Logout:

Google Sign In works as it should but breaks change password feature.
Checklist:
Delete irrelevant options.
Code/Quality Assurance Only