Skip to main content
Finish an OAuth flow

Path Parameters

strategy_name
string
required

Provider the answer is coming back from. Where several providers share one callback address, the provider remembered with the flow takes precedence over this.

Example:

"google"

Query Parameters

error
string

Set by the provider when it ended the flow instead of returning an authorization code, typically because the person refused or cancelled. Its value is passed on to the page the browser is sent back to.

Example:

"access_denied"

error_description
string

The provider's own account of what went wrong, used to tell apart failures it reports under the same error value.

state
string
required

Handle of the flow, handed to the provider when it was started and returned unchanged. Everything the flow needs is kept under it on the server; it is good for five minutes and for a single use, and it is tied to the browser the flow started in.

Example:

"3f2504e04f8911d39a0c0305e82c3301"

Response

The flow is finished and the browser is redirected onwards - into the web application, to the client's own callback address, or back to where it started with an err parameter when it did not work out.