-
Notifications
You must be signed in to change notification settings - Fork 93
[auth] Decode token once #1266
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
Merged
Merged
[auth] Decode token once #1266
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
7fd1d7e
decode only once in middleware
MariemBaccari 03a06f3
fix formatting error
MariemBaccari b20dc4c
[logging] Add subject field to log output (#1263)
MariemBaccari fc27a16
remove merge messages
MariemBaccari 625f684
fix unit test
MariemBaccari 1ef90ba
edit error message
MariemBaccari 5860a2e
Revert changes and improve middleware declarations
MariemBaccari 30dd60f
address pr comments
MariemBaccari 06b3ae2
fix context key nit
MariemBaccari 86bb4ca
Merge branch 'master' into 1051-dup-token
MariemBaccari 363c8da
add missing context
MariemBaccari 9fd7ae0
clarify middleware doc
MariemBaccari 36df8df
decode only once in middleware
MariemBaccari 929fbe6
fix formatting error
MariemBaccari 0621a00
[logging] Add subject field to log output (#1263)
MariemBaccari 7316590
remove merge messages
MariemBaccari 1a74ef7
fix unit test
MariemBaccari 1325293
edit error message
MariemBaccari c11145a
Revert changes and improve middleware declarations
MariemBaccari d78dc68
address pr comments
MariemBaccari 33cca92
fix context key nit
MariemBaccari 09f7926
add missing context
MariemBaccari 26eae64
clarify middleware doc
MariemBaccari ac80360
Merge branch '1051-dup-token' of github.com:Orbitalize/dss into 1051-…
MariemBaccari 6e443ca
fix auth_test.go
MariemBaccari ed2de91
address review comments
MariemBaccari 71210a2
use keyclaims var name
MariemBaccari 62ed06c
remove added newline
MariemBaccari 97891bb
move ctxkey
MariemBaccari 817115b
use t.context in all testing
MariemBaccari 32e429e
address review comments
MariemBaccari e33f6b4
log value from claims.FromContext
MariemBaccari 1e5755f
remove unused ctxkey
MariemBaccari 4fdf748
nit
MariemBaccari 60f3db1
Update pkg/logging/http.go
MariemBaccari 799821b
address review comment
MariemBaccari bcdebdb
nit
MariemBaccari File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.