sknebel / AutoAuth

AutoAuth is a WIP extension for IndieAuth without the user being present
13 stars 0 forks source link

support polling for response to client #1

Closed sknebel closed 5 years ago

sknebel commented 5 years ago

An example for how to do this could be the Oauth 2.0 Device Flow (thanks @sebsel for the pointer to that)

sknebel commented 5 years ago

Client makes request, does not include callback id. Server responds with request_id that can be used to query? (do not reuse state from client, since that theoretically could be duplicated with another request?). poll responses similarly to device flow, including timeout and slow down responses.

sknebel commented 5 years ago

https://github.com/sknebel/AutoAuth/commit/004f953bbd05e74b1659735b229b1c9377a41816