Skip to content

feat(auth): make signInWithCredential not dependent on provider #247

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

Merged
merged 1 commit into from
Aug 23, 2017

Conversation

jxom
Copy link

@jxom jxom commented Aug 23, 2017

At the moment, I am trying to authenticate using a phone number and using const credential = firebase.auth.PhoneAuthProvider.credential(confirmationResult.verificationId, code); as a method of retrieving a credential to authenticate. However, this method of authentication can not be achieved currently, because phone is not in the list of supported providers. Instead of adding phone to the list of supported providers, why don't we just make signInWithCredential not dependant on whether a provider name is provided. Because signInWithCredential doesn't require provider :)

@prescottprue prescottprue changed the base branch from v2.0.0 to v2.0.0-beta.7 August 23, 2017 19:32
@prescottprue prescottprue changed the title Make signInWithCredential not dependant on provider feat(auth): make signInWithCredential not dependent on provider Aug 23, 2017
@prescottprue prescottprue self-requested a review August 23, 2017 20:30
@prescottprue prescottprue merged commit 29298da into prescottprue:v2.0.0-beta.7 Aug 23, 2017
@prescottprue prescottprue mentioned this pull request Aug 24, 2017
3 tasks
prescottprue added a commit that referenced this pull request Aug 24, 2017
* fix(reducer): allow setting paths ending in numbers - #248
* feat(auth): make signInWithCredential not dependent on provider - #247
* `signInWithCustomToken` no longer decodes token internally for profile data (`profileFactory` should be used) - #244
* Removed `jwt-decode` as a dependency (not needed since auth token no longer decoded internally)
* Support lazy/module loading - #249, #250 
* Updated SSR docs to include notes about `enableRedirectHanlding: false` - #251
* Updated Roadmap with detection of non-http environments
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.

2 participants