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

Claim and signature validations without raising exceptions #270

Closed
jec opened this issue Jun 12, 2018 · 2 comments
Closed

Claim and signature validations without raising exceptions #270

jec opened this issue Jun 12, 2018 · 2 comments

Comments

@jec
Copy link

jec commented Jun 12, 2018

My company has a fork of this project that uses ActiveModel::Validations to inform of validation failures, rather than raising exceptions. The goal of our fork is to allow the existing behavior while also providing the alternate behavior by adding require: 'jwt/activemodel' to the line in the Gemfile.

Is there any interest in our contributing these changes back to this project?

@excpt
Copy link
Member

excpt commented Jun 18, 2018

Hi @jec,

This is a requested feature. 👍

I'd love to see you approach.

If you wan't to open a PR I would create a fitting branch.

@anakinj
Copy link
Member

anakinj commented Dec 28, 2024

The new JWT::EncodedToken provides this kind of API.

@anakinj anakinj closed this as completed Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants