Back

OAuth success callback Problem

  • 0
  • Self Hosted
  • Android
  • Web
Jandro
18 Mar, 2025, 15:35

I'm able to complete a full OAuth cycle but in the end I receive this link

https://domain.org/auth/oauth2/success?project=XXXXX&key=a_session_XXXXXX&secret=XXXXXXXXXXXXXXXXXXXXXXXXXX

How to use this data to create a session? On my console I can see that session exists but account.GetSession("current") throws error that 'guest' has no access to 'accounts'

TL;DR
Issue: Developers completing OAuth cycle receive link with session data but are unable to create a session with it. Solution: The error 'guest' has no access to 'accounts' suggests a permission issue. Make sure the account permissions are set correctly to access accounts. This should resolve the error and allow the session creation.
Jandro
18 Mar, 2025, 15:35

OAuth success callback Problem

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