Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auth_context.client_uat is string #61

Open
ncri opened this issue Apr 30, 2024 · 0 comments · May be fixed by #62
Open

auth_context.client_uat is string #61

ncri opened this issue Apr 30, 2024 · 0 comments · May be fixed by #62
Assignees

Comments

@ncri
Copy link

ncri commented Apr 30, 2024

Needed to add a to_i in lib/clerk/authenticate_request.rb as the auth_context.client_uat is a string for me, so < caused an error.

if token["iat"] < auth_context.client_uat.to_i
    return handle_handshake_maybe_status(env, reason: AuthErrorReason::SESSION_TOKEN_OUTDATED);
end

Version used is v4.0.0.beta3. Btw., this version fixed a lot of issues compared to the latest stable version I used previously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants