๐Ÿ•ต๏ธ Retrieving user information

You now have the user's access_token and id_token.
If you want to know if the token is still valid and/or retrieve personal information about the user, you'll need to call the /me route.

Let's take the case of a student user, for example:

POST https://auth.edusign.fr/student/me

Parameter Header

  • Authorization : Bearer {the accesstoken retrieved in step 3}
  • Parameter Body x-www-form-urlencoded:
    • scope
      • The space-separated scopes you wish to retrieve.
        โš ๏ธ Be careful, there mustn't be more than you asked for when creating the authentication url. Otherwise the user won't have approved the request and you won't be able to retrieve the user's details.

You'll then get a JSON with all the information you need, which is listed under "scope" in step 3.1.