Rahul Saini
Rahul Saini

Reputation: 937

How to use OAuth 2 for authentication in Node?

I am very confused about how to authenticate a user with OAuth 2. But I am comfortable when using JWT. Please can you make me understand with an example using OAuth 2?

  1. When user gets registered.
  2. User Login.

I'll be very thankful to you.

Upvotes: 0

Views: 652

Answers (1)

Nodios
Nodios

Reputation: 459

I would suggest to first get familiar with OAuth2 workflow and then you could use something like this.

Upvotes: 2

Related Questions