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

Allow the name of the account id field to be configured via .env #4

merged 4 commits into from
Jun 20, 2017


Copy link

@mikeu mikeu commented Jun 19, 2017

A user provider that looks up accounts via a field other than id can now be used, by supplying a custom value for the new key JWT_ID_FIELD in the .env file. This field is always included in the resulting token and defaults to "id" when not specified.

Copy link

@gboyegadada gboyegadada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Michael, thanks for this!

Copy link
Contributor Author

mikeu commented Jun 20, 2017

Thank you for this project! I definitely plan to keep using it, and am happy to keep adding the occasional little feature like this as I come across use cases for them :)

@gboyegadada gboyegadada merged commit d2ac146 into gboyegadada:master Jun 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants