[SOLVED]How to obtain the user account access token for authentication using a request via Insomnia?
- 0
- Accounts
- Web
I would like to know how to obtain the access token for user authentication after creating a session via email with the accounts API. I am using Insomnia to obtain the information returned after session creation, particularly the providerAccessToken, which returns an empty value. I cannot access my application as an authenticated user without this token.
Ex: { "$id": "6415c5e9cfbc0361682d", "$createdAt": "2023-03-18T14:08:41.856+00:00", "userId": "6413a90b365a70d0f0c2", "expire": "2024-03-17 14:08:41.850", "provider": "email", "providerUid": "my_email", "providerAccessToken": "", "providerAccessTokenExpiry": "", "providerRefreshToken": "", "ip": "my_ip", "osCode": "", "osName": "", "osVersion": "", "clientType": "library", "clientCode": "", "clientName": "Node Fetch", "clientVersion": "1.0", "clientEngine": "", "clientEngineVersion": "", "deviceName": "", "deviceBrand": "", "deviceModel": "", "countryCode": "--", "countryName": "Unknown", "current": true }
Maybe this will help: https://appwrite.io/docs/rest#client-auth
Thanks, @Steven
[SOLVED]How to obtain the user account access token for authentication using a request via Insomnia?
Recommended threads
- Domain Verification Failed - Fastly Conf...
I am trying to add my subdomain api.getmyself.app to my Custom Domain, but I keep getting the error: Domain 'getmyself.app' is owned by another customer I have...
- Data not loading at the frontend
My App that has been working for weeks, ain't loading anything at the frontend anymore. I thought maybe the API key expired but it's not the case. Users are log...
- Do I need to upgrade my Appwrite plan?
So i am making a file hosting & sharing platform (voltzy.lol) and i am expecting approx 5-8 million visit per month and over 30 million uploads per month do i n...