Skip to content

Offline sign out #401

@2math

Description

@2math

Hello, first thank you for your work and flutter package!

My question is, what is the proper way to logout user when the device is offline?
I'm currently calling ClerkAuthState.signOut() which when is offline executes really slow(I assume it retries too many time or something), but it does nothing. Yes, I can detect locally if the app is offline and just redirect the user to my login screen. However when the app is restarted with internet connection it actually logs you in as the session/token is still available.
My application was just rejected from App Store because of that and I think the reviewers are right, you don't have to need internet to signout from the app.

Please advice, thank you in advance!

Metadata

Metadata

Labels

bugSomething isn't workingclerk_authpackage: clerk_auth

Type

No fields configured for Bug.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions