kudos2012
kudos2012

Reputation: 9

Can I use my own custom authentication service in Firebase?

I want to create chat application using Firebase. I have the backend done in micro-services.

I also built an authentication API micro-service that allow the user to login/register and other. That service is built in Node.js and Mongodb using JWT tokens.

I am not that familiar with Firebase, all I know that you can you their auth/authorization service.

Will it be alright to use that micro-service in Firebase?

Upvotes: 0

Views: 347

Answers (1)

Frank van Puffelen
Frank van Puffelen

Reputation: 598817

You can use the Firebase Admin SDK to mint a token that Firebase Authentication can then use to authenticate your user.

See the Firebase documentation on minting custom tokens for an example.

Upvotes: 1

Related Questions