Skip to content

Conversation

@sammck
Copy link
Contributor

@sammck sammck commented Apr 29, 2021

Sometimes it is desirable to change behavior of a view based on where the JWT was
located. For example, if the same route is used for cookie-based access or
header-based access, and you want to implicitly refresh cookie-based access tokens.

With this change, a protected view can determine which location (e.g., "cookies",
"headers", "query_string", or "json") was selected as the source of the current
request's JWT.

Addressed issue #419

sammck added 3 commits April 29, 2021 13:59
… JWT was located

Sometimes it is desirable to change behavior of a view based on where the JWT was
located. For example, if the same route is used for cookie-based access or
header-based access, and you want to implicitly refresh cookie-based access tokens.

With this change, a protected view can determine which location (e.g., "cookies",
"headers", "query_string", or "json") was selected as the source of the current
request's JWT.
@sammck
Copy link
Contributor Author

sammck commented Apr 30, 2021

Sorry to waste your time with lint errors. Hopefully should be clean now.

Copy link
Owner

@vimalloc vimalloc left a comment

Choose a reason for hiding this comment

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

lgtm. Thanks for contributing 👍

@vimalloc vimalloc merged commit ef3da3c into vimalloc:master May 2, 2021
@vimalloc
Copy link
Owner

vimalloc commented May 2, 2021

Released in v4.2.0!

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