Skip to main content
Start a flow with an external provider

Headers

referer
string

Stands in for both domain and referer where they are not sent: the tenant is resolved from it, and it becomes the address a failed flow returns to.

Path Parameters

strategy_name
string
required

External provider to run the flow with, named as the platform knows it.

Minimum string length: 1
Example:

"google"

Query Parameters

activation
string

Activation token from the message a freshly created account is confirmed with. It turns the flow into that confirmation, which goes through only while the account is still unconfirmed and only when the provider reports the very address it was created for. The activation token then becomes the person's session token instead of a new one being issued.

callback
string

Address of your own to finish at, rather than in the browser session - what a desktop, mobile or integration client uses. The flow then ends there with a one-time code to exchange through GET /oauth/code, and no session cookie is set. Anything other than the default address for native applications has to be listed in the tenant's oauthCallbackWhitelist setting.

Example:

"http://localhost:8081/callback"

campaign
string

Campaign to record on an account this flow creates. It has no effect for somebody who already has an account.

close
boolean

Ends the flow on the application's closing page instead of taking the person onward - what a flow opened in a pop-up window uses, so that the window can close itself once the work is done. It applies to a failed flow as well.

connect
boolean

Attaches the provider that answers to the account the accompanying token belongs to and keeps the access it grants, which is how a cloud storage or similar provider is connected. It settles the case where the two are not the same person: without it, a token whose owner is not the one the provider authenticated is dropped and the flow turns into a plain sign-in as whoever did authenticate.

documentId
string

Document a signature is being authorized for, with a signing provider. It is needed when the flow runs under a signed-in person's token; a signature authorized through a share takes the document from the share instead.

domain
string

Address of the web application the flow belongs to. It decides which tenant the flow runs in and where the person is taken at the end, and takes the place of the Referer header where that cannot be relied on.

Example:

"https://app.circularo.com"

language
string

Language for the provider's own screens. Only the UAE PASS providers are given it; left out, the language is taken from the person where they are already known, and from the tenant otherwise.

Links the identity the provider reports to the account the accompanying token belongs to, for the providers that recognise people by identity rather than by e-mail address. It cannot be asked for with a signing provider.

prompt
string

Passed on to the provider to steer what it asks the person, and forwarded to Google and Microsoft only. Asking for consent also connects the provider to the caller's account, exactly as connect does.

Example:

"consent"

referer
string

Address to send the person back to when the flow fails, taking the place of the Referer header of this request. It is used when the failure happens before the flow can be tied to a tenant, and for a signing provider whenever it fails; other failures return to the application named by domain.

shareToken
string

Share whose recipient is proving who they are. The flow then ends back on the shared document, with a one-time token to open it with.

subName
string

Names the target within the provider, for a provider that is connected per target rather than once - SharePoint, whose own address is built from it, so it cannot be reached without one. The access granted is kept under that name; other providers ignore it.

token
string

Token of the person the flow belongs to, taken from the token cookie when it is not given here. It is what connect and link attach the provider to; with a signing provider it may equally be the token of the share the signature is authorized through.

Response

The browser is redirected to the provider to authenticate the person.