FloFlal / node-red-ewelink-v2-oauth

An impelementation of nodes to connect to eWeLink V2 API thru OAuth and personal API key and secrets
MIT License
2 stars 1 forks source link

Redirect URL #1

Closed Pool0513 closed 10 months ago

Pool0513 commented 10 months ago

Hello FloFlal,

First of all thank you for bringing this project.

I can't figure out what to do with the redirect url field. If I do understand right, I should have a server listening to some port to redirect the token there. But I cannot figure out how to bring this server to life !

Maybe I'm completely wrong there...

Could you please help and advise ?

Thank you

Pool0513 commented 10 months ago

forget my message I have found how to do it.

I used http://localnoderedaddress:localport/ewelink-auth/auth/callback

It worked :)

FloFlal commented 10 months ago

Hello !

Thank you for your interest for my nodes.

In the 1st release of it, I forgot to put the basic documentation I prepared.

It is now the case and as you already figgured out, the library is providing the listening redirect URL.

Good if it worked for you.