Back

Auth not working after upgrading to appwrite 1.5.3 [ SOLVED ]

  • 0
  • Self Hosted
  • Auth
Chris
12 Mar, 2024, 06:05

Hi team,

I am getting the error message "creating of session is prohibited when a session is active" when i try to create email or phone session from a client application.

TL;DR
Auth issues after updating to appwrite 1.5.3. Solution: Call `account.deleteSession('current')` to end current session before creating another.
ideclon
12 Mar, 2024, 06:38

Yes, looks like this is a new thing, but it doesn't seem to have been documented anywhere? - it's not a bug. It apparently means you already have an active session on the device you're creating the session on

ideclon
12 Mar, 2024, 06:38

To create a new session, you'll have to end the current one - you can do this by calling account.deleteSession('current')

Chris
12 Mar, 2024, 06:42

Oky thanks, let me try that.

Chris
12 Mar, 2024, 06:51

Thank you it's working now.

Chris
12 Mar, 2024, 06:52

Auth not working after upgrading to appwrite 1.5.3 [ SOLVED ]

ideclon
12 Mar, 2024, 06:54

Glad that helped! Thanks for adding the "[SOLVED]" - could you please move it to the beginning of the title?

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