Back

access token and other field are empty in emailsession response.

  • 0
  • Self Hosted
  • Accounts
  • GraphQL
  • Web
debashish
22 Oct, 2023, 04:36

After using createEmailSession, I see in response accessToken and other fields empty. I am creating email session from next js api route. I have attached the screenshot.

TL;DR
The user is reporting that when using the createEmailSession function, the access token and other fields in the response are empty. Another user explains that this is expected behavior, as those fields are only populated for oauth sessions with an access token from the oauth provider.
Drake
22 Oct, 2023, 04:50

This is expected. Those are only populated for oauth sessions as they are the access token from the oauth provider

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more