Skip to content
This repository has been archived by the owner. It is now read-only.

feat(android): return nonce on sign in #53

Closed
robingenz opened this issue Jul 29, 2021 · 1 comment · Fixed by #137
Closed

feat(android): return nonce on sign in #53

robingenz opened this issue Jul 29, 2021 · 1 comment · Fixed by #137
Labels
feature Feature help wanted Extra attention is needed platform: android Android platform

Comments

@robingenz
Copy link
Owner

Is your feature request related to a problem? Please describe:

Currently, signing in to Apple using the Firebase JS SDK is not possible on Android, among other reasons (see #48), because the nonce is not returned.

Describe the solution you'd like:

Return the nonce on sign in.

OAuthCredential (see #44):

export interface OAuthCredential extends AuthCredential {
  accessToken?: string;
  idToken?: string;
  secret?: string;
  nonce?: string;
}

Describe alternatives you've considered:

No alternative options.

Additional context:

@robingenz robingenz added platform: android Android platform feature Feature labels Jul 29, 2021
@robingenz
Copy link
Owner Author

I could not find a way to get the nonce value on Android.
It would be possible to manually handle the sign-in flow (see here) so that you can generate the nonce value yourself, but that would increase the setup effort significantly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature Feature help wanted Extra attention is needed platform: android Android platform
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant