Charcoal-SE / metasmoke

Web dashboard for SmokeDetector.
https://metasmoke.erwaysoftware.com
Creative Commons Zero v1.0 Universal
43 stars 34 forks source link

Allow sending write token directly to app #233

Closed j-f1 closed 7 years ago

j-f1 commented 7 years ago

Currently, once the user allows write access for an app, they are given a token to copy-paste into the app. However, the app could instead ask for write access and provide a callback URL to redirect to once the token has been granted. Example:

https://metasmoke.erwaysoftware.com/oauth/request?key=abcd1234&callback=https://example.com

This would redirect the user to https://example.com/?token=abcd1234, where abcd1234 is the actual write token.

ArtOfCode- commented 7 years ago

Parameter name is redirect, rather than callback, but otherwise implemented as described.