Authorize User

Authorize User Access

Redirects the user to sign in and grant consent, then returns an authorization code to your redirect URI.

get/authorize

Request

  • Base URL
    https://login.flocksafety.com
  • URL
    https://login.flocksafety.com/authorize
  • Auth
    none declared

Query parameters

audience'com.flocksafety.integrations' required
scopestring

The scopes which you want to request authorization for. Each scope must be separated by a space when requesting multiple.

response_type'code' required
client_idstring required
redirect_uristring uri

The URL to which Flock will redirect the browser after authorization has been granted by the user. Must match the Redirect URI registered with Flock.

statestring

An opaque value the application adds to the initial request that the authorization server includes when redirecting back to the application. This value must be used by the application to prevent CSRF attacks.

connectionstring

Flock-provided SSO connection name. When supplied for an organization with configured SSO, the authorization flow redirects the user to that identity provider instead of first displaying the Flock login screen.

noncestring

A string value which will be included in the ID Token response, used to prevent token replay attacks.

code_challenge_method'S256'

Method used to generate the challenge. Flock supports S256.

code_challengestring

Generated challenge from the code_verifier.

Changes

No recorded changes to this operation across all 1 revision of this API.