Add a callback parameter to the /auth/{provider} endpoint.
Example:
GET /api/v1/auth/google?callback="http://{client-app-here}/{path}"
This will encode the callback into a JSON base64 encoded state string which is sent off to the provider as part of the OAuth2 process. If a callback is present after successful authentication, we will redirect to that callback with the generated token as a parameter:
Add a
callback
parameter to the/auth/{provider}
endpoint.Example:
GET /api/v1/auth/google?callback="http://{client-app-here}/{path}"
This will encode the callback into a JSON base64 encoded state string which is sent off to the provider as part of the OAuth2 process. If a callback is present after successful authentication, we will redirect to that callback with the generated token as a parameter:
302 {callback}?token={token}