Secure micronaut rest api with social login such as Google and Facebook login

552 Views Asked by At

Given that I have mobile app which integrated with Google and Facebook login, how do I use Google and Facebook authentication in the Micronaut REST API? In the future, the mobile app will allow user to register (create new account) besides social login.

Thanks for writing the following articles:

Both articles above mentioned "Micronaut extracts the JWT from the Cookie and validates the JWT signature with the remote Json Web Key Set..."

Currently, the mobile apps has the access token return from Facebook OAuth2 and Google OAuth2, can't I simply pass the access token as bearer token for authentication?

I believe I'm missing some dots here, please advise.

Appreciate if you could point me to the right direction.

Thank you very much.

0

There are 0 best solutions below