cablelabs / lpwanserver

LPWAN Provisioning & Management Server
https://lpwanserver.com
Apache License 2.0
37 stars 11 forks source link

Receive TTN redirect_uri from client. #206

Closed rhythnic closed 5 years ago

rhythnic commented 5 years ago

What does this PR do?

For TTN oauth flow, get the redirect_url from the client, passed up with the code.

Do you have any concerns with this PR?

Less secure than configuring the server with it, but shouldn't be a problem if lpwanserver is served on https. It makes for less cumbersome development for now. Easy to change in the future if more security is desired.

How can the reviewer verify this PR?

Look at 1 line code change. Run demo, do oauth flow in TTN, look at server logs.

Any background context you want to provide?

Screenshots or logs (if appropriate)

Questions: