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

Access Permissions v2

When authenticating a user, you have to request permissions (scope in the OAuth2.0 world) to access the user's data you need.

The user will have to accept to share his data with your application on a consent page during the authentication flow.
If you add new permissions later, Lifen will require the user to consent again.

Permissions

Here is the list of permissions that you can include in the scope parameter when authenticating a user :

  • openid is required if you want to obtain an ID token containing the user basic information
  • email will add the email address of the user in the ID token
  • profile will include the first name, last name of the user in the ID token

You can find the permissions required by each Lifen API in their documentation.