Skip to content

Conversation

@mikeu
Copy link
Contributor

@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
Owner

@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!

@mikeu
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants