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
merged 4 commits into from Jun 20, 2017

Conversation

@mikeu
Copy link
Contributor

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
Owner

gboyegadada left a comment

Hi Michael, thanks for this!

@mikeu

This comment has been minimized.

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
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.