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

Support for custom Claims #53

Closed
Mathiou04 opened this issue Aug 17, 2018 · 7 comments
Closed

Support for custom Claims #53

Mathiou04 opened this issue Aug 17, 2018 · 7 comments
Milestone

Comments

@Mathiou04
Copy link

Are there any plans to support custom Claims as the underlying library jwt-go does (with the parseWithClaims method) ?

If no, is there any reason for not adding it to the library? (I am willing to open a PR if anyone has an idea on what is the best way to add support for this)

@Mathiou04
Copy link
Author

Mathiou04 commented Aug 17, 2018

Just saw #48 and #46, so this is already work in progress :)
Does any of this PR have a chance to be merged?

@hleonps
Copy link

hleonps commented Nov 8, 2018

Any update about it?

@giautm
Copy link

giautm commented Nov 9, 2018

I think this project was not maintained anymore. so, we should fork to add new feature & fix bugs

@ciehanski
Copy link

I have forked this project and got the tests to run. Also applied most open PRs and issues. https://github.com/ciehanski/go-jwt-middleware

@giautm
Copy link

giautm commented Jan 24, 2019

I switched to use this package, github.com/dgrijalva/jwt-go

@grounded042
Copy link
Contributor

I apologize for the inactivity here. We are beginning work on a v2 and this is something we can look at. Note that the package we settle on to replace jwt-go might impact how custom claims are supported. See #73 for more details on the replacement of jwt-go.

@sergiught
Copy link
Contributor

We just released the v2.0.0-beta 🥳 !

You can start testing it by running go get github.com/auth0/go-jwt-middleware/v2@v2.0.0-beta.

In case of issues fetching the v2 you might want to try go clean --modcache first before doing go get.

I'm closing this issue as now this is part of v2, but feel free to reopen if needed.

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

No branches or pull requests

6 participants