Skip to content
This repository was archived by the owner on Sep 23, 2021. It is now read-only.

Anonymous sign in#106

Open
ashritaraman wants to merge 5 commits into
masterfrom
anonymousSignIn
Open

Anonymous sign in#106
ashritaraman wants to merge 5 commits into
masterfrom
anonymousSignIn

Conversation

@ashritaraman

Copy link
Copy Markdown
Contributor

Summary
This pull request supports Anonymous sign in through Firebase so that users don't have to sign in through Google. This will hopefully fix the issue with Apple where we were required to add Apple sign-in if we had Google sign-in in order to push to the app store.

How it works now

  • When the user presses 'get started,' a getStarted method is triggered where the user is signed in anonymously and an id is generated.
  • That Id is passed into the get server auth token, which validates the anonymous token and returns another token generated by Django.
  • The new Django token is what will be used for authentication.
  • In order to implement these changes, I had to update the API key (the other one was expired) and enable the Identity Toolkit API in the google developer console.

Test Plan
-Test plan is to run the backend server and see if a servertoken is appropriately generated.

Breaking Changes
-Users will not be using google sign in

@ashritaraman
ashritaraman requested a review from a team as a code owner October 11, 2020 22:02
@dti-github-bot

dti-github-bot commented Oct 11, 2020

Copy link
Copy Markdown
Member

[diff-counting] Significant lines: 113.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants