Bin
aed172b8dd
feat: jwt KeyFunc external return ( #2809 )
...
* Update jwt.go
* Update jwt.go
2 years ago
ibrahim albarghouthi
3958f9d5c0
refactor: metadata supports key corresponding to multiple values ( #2772 )
...
* Adding Add/Values fn for transport and metadata layers, fixed tests and included tests to new functionaltieis, updated metadata middleware to append instead of hard set of key-values
* Remove useless function
* Linit fix
---------
Co-authored-by: Ibrahim Barghouthi <ibrahim.barghouthi@cenomi.com>
2 years ago
Jesse
54c6fb3631
test(middleware/auth/jwt): add test TestNewContextAndFromContext ( #2447 )
2 years ago
songzhibin97
9e66ac2f5b
Update jwt.go ( #2016 )
3 years ago
Zhen Wang
4dadafff90
fix(jwt): parse server custom claims ( #1817 )
...
* fix(jwt): parse server custom claims
* fix(jwt): parse server custom claims & use factory pattern
Co-authored-by: 王真 <zhen.wang@yo-star.com>
3 years ago
haiyux
18315303f0
deps:upgrade go mod version ( #1800 )
...
* deps:upgrade go mod version
3 years ago
haiyux
00c05e82a3
test:remove testify go mod ( #1766 )
...
* test:remove testify go mod
* tidy go mdo
* fix test
3 years ago
Casper-Mars
76ab0baa56
feat(middleware/auth/jwt): add customer header ( #1752 )
3 years ago
Bear
5e88a20cd4
fix: 'tokenInfo' might have 'nil' or bad value ( #1534 )
...
* fix: 'tokenInfo' might have 'nil' or bad value
* fix: return the origin err
3 years ago
hotcha
7cc6565d01
fix typo ( #1509 )
3 years ago
Casper-Mars
ab5152dbe1
feat(middleware/auth): add auth middleware ( #1274 )
...
* add auth middleware
3 years ago