clerk / clerk-sdk-ruby

Access the Clerk Backend API from Ruby
MIT License
24 stars 10 forks source link

How to sign out user? #63

Closed owenthereal closed 3 months ago

owenthereal commented 4 months ago

In https://github.com/clerk/clerk-sdk-ruby/blob/main/lib/clerk/authenticatable.rb, I don't see any util method to sign out a user. Is it intentional or is there anything I missed?

gkats commented 3 months ago

Hi, @owenthereal. The Clerk Ruby SDK supports Clerk Backend API operations.

Clerk is "frontend-first". Signing users in (or signing in them up) and sign outs happen with code that runs on the frontend, using one of our frontend SDKs. Under the hood, they all use clerkJS.

Here's a few links from our documentation on how to sign out users with the <SignOutButton /> or a custom flow, using clerkJS's signOut method.

Hope the above helps!

I'll close this issue, but feel free to ask more questions in our Discord community or contact support