Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[auth] add useSignInWithCustomToken hook #304

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

Open
mkhuda wants to merge 1 commit into CSFrequency:master
base: master
Choose a base branch
Loading
from mkhuda:master

Conversation

Copy link

@mkhuda mkhuda commented Jun 11, 2023

Some people manage projects with specifications requiring the use of custom secure JWT as the authentication method with Firebase, based on this documentation. Here I intend to add new useSignInWithCustomToken hook to your project.

But before, I thank this library a lot, which helped me in several React Firebase projects.

Copy link

yamcodes commented Feb 28, 2024
edited
Loading

Great job! You'll want to export the hook from auth/index.ts so it is usable from the following import:

import { useSignInWithCustomToken } from "react-firebase-hooks/auth";

Note: I maintain a fork of this library called hooked-on-firebase that incorporates this PR and supports React 18.

mkhuda reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /