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:
Have you connected this PR to the issue it resolves? #178
Does the documentation need an update? No
Does this add new dependencies? No
Have you added unit or functional tests for this PR? No
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: