These docs are for v2. Click to read the latest docs for v3.

Authorize Endpoint with PKCE

This is the OAuth 2.0 grant that Native or Single Page Apps utilize in order to access an API on behalf of an authenticated user.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

An unguessable random string. It is used to protect against cross-site request forgery attacks.

string
required

The client ID you received from Lifen when you registered your OAuth App.

string
required

The URL in your application where users will be sent after authorization. The URL has to be in the "Allowed Callback URLs" of your registered OAuth App.

string
enum
required

Request a code as response from the authorization flow

Allowed:
string
required

The version of Lifen's implementation of the authorization flow. Actual version : 2.0.0.

string

A space-delimited list of scopes. If not provided, scope defaults to an empty list for users that have not authorized any scopes for the application. User consent will be requested during the authorization flow for the list of scopes provided. Standard OpenID Connect (OICD) scopes are available : openid, profile, email. In order to access Patient endpoint, scope PATIENT_READ is required.

string
enum
required

Method used to generate the challenge. Lifen only supports S256.

Allowed:
string
required

Generated challenge from the code_verifier.

Response

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*