Skip to content

Commit

Permalink
docs(authentication): update the Twitter Sign-In example (#399)
Browse files Browse the repository at this point in the history
Co-authored-by: Robin Genz <mail@robingenz.dev>
  • Loading branch information
r0hin and robingenz authored Jul 6, 2023
1 parent d6e3ea5 commit de86087
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/authentication/docs/firebase-js-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ const signInWithTwitter = async () => {
const result = await FirebaseAuthentication.signInWithTwitter({
skipNativeAuth: false,
});
// 2. Sign in on the web layer using the id token and secret
// 2. Sign in on the web layer using the access token and secret
const credential = TwitterAuthProvider.credential(
result.credential?.idToken,
result.credential?.accessToken,
result.credential?.secret,
);
const auth = getAuth();
Expand Down

0 comments on commit de86087

Please sign in to comment.