Content
View differences
Updated by Pavel Balashou over 2 years ago
The route has a mandatory `storage_id` parameter and an optional `destination_url` parameter.
The route is responsible for checking current state of user's oauth connection.
* If the connection is ok then redirect to `destination_url || root_url`
* Otherwise trigger oauth granting flow and setup cookies so, that `**/oauth_clients/:oauth_client_id/callback**` is able to redirect to `destination_url || root_url` after client is back.
The route is responsible for checking current state of user's oauth connection.
* If the connection is ok then redirect to `destination_url || root_url`
* Otherwise trigger oauth granting flow and setup cookies so, that `**/oauth_clients/:oauth_client_id/callback**` is able to redirect to `destination_url || root_url` after client is back.