OAuth2 for the first time

I have used simple REST APIs in the past without authentication, and I am trying to wrap my head around OAuth2. The API I want to use is not Google.

I have seen a few oauth2 nodes for node-red that implement the authorization, getting and refreshing the token. Is there any particular node that you could recommend?

Do I understand it correctly that the OAuth process requests a Bearer token from the server and for the "actual" communication I can use simple HTTP Request nodes with the bearer token added to the header?

Thanks, and Merry Christmas who are reading this today :slight_smile:

I have posted a flow a while back that should be able to help you to get going.

1 Like

Thanks, I will give this a try.

I have it working with Net Atmo based on bakman2's flow.
works perfectly.