Closed tonydaly closed 5 months ago
Hello @tonydaly , sorry that you've encountered this issue with the SDK! There's a chance that our documentation needs some updates, so thanks for reporting. Can you confirm that you're using Version 2 of the Rack Middleware?
You should be able to use the clerk_verified_session_claims
method, which doesn't require a Backend API request, instead of clerk_session
:
Let me know if that helps!
@tonydaly Did the above suggestion resolve your issue?
Closing this issue as it's been stale for a long time. Feel free to re-open!
Hello folks. Im' curious why this is not in the documentation somewhere?
Heya,
I'm following this guide: https://clerk.com/docs/references/ruby/rack-rails
I'm setting the
Authorization
header in my frontend (@clerk/remix
) and it's all passed through correctly. In my controller I can callclerk_user
andclerk_user_signed_in?
. But following the guide when I callclerk_session
I get the error that the endpoint is deprecated:Any help appreciated!