Getting user data - cybergizer-hq/alfred Wiki

After authorization in Alfred, it checks your token and, if it's valid, generates a json with your data. In the future, the backend receives this data by code to create a user in the client application.

User json format example:


  "id": "1",

  "uid": "r5kFrwQie6GspyqU3rJkbpUQGY-wtEOtmhyipmfjyEh",

  "first_name": "John",

  "last_name": "Doe",

  "email": "[email protected]",

  "dob": "2000-04-23",

  "avatar": ""


Note: avatar uses a user.avatar.service_url. service_url returns the URL of the blob on the service