Signing in when already signed in shouldn't create a new session

I know it's contrived, but if you're already signed in but still call the authClient sign in function, a new session will be created in the database. My expectation is that it would just return an error saying "Already signed in".

Basically it doesn't seem idempotent and neither does sign out.
Was this page helpful?