4536fd0636
Use app.conf value in getOriginFromHost()
2022-09-03 15:12:34 +08:00
6676cc8ff3
fix: add JTI name to JWT token ( #989 )
...
* feat: add jti to jwt
* fix
* fix
2022-08-11 14:32:47 +08:00
8e98fc5a9f
feat: rename all publicKey occurrences to certificate ( #894 )
...
* fix:The certs page is displayed incorrectly
* Translations for each language are added
* Replace the variables certificat with Certificat with certificate and Certificate
* Replace the variables certificat with Certificat with certificate and Certificate
* Variable names are more accurate
* Variable names are more accurate
* Modify the variable name
2022-07-23 09:40:51 +08:00
ade64693e4
fix: support lower go version(1.15) ( #599 )
...
* fix: support lower go version(1.15)
* fix: support lower go version(1.15)
* fix: support lower go version(1.15)
2022-03-21 21:55:16 +08:00
5f8924ed4e
feat: support overriding configuration with env ( #590 )
2022-03-20 23:21:09 +08:00
ab5af979c8
feat: add Oauth 2.0 Token Introspection(rfc7662) endpoint support ( #532 )
...
Signed-off-by: Leon <leondevlifelog@gmail.com >
2022-03-03 17:48:47 +08:00
274096fe9d
fix: empty iss return ( #503 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-02-18 12:36:11 +08:00
db37f53d6c
Update license headers.
2022-02-13 23:39:27 +08:00
051752340d
feat: add userinfo endpoint ( #447 )
...
* feat: add userinfo endpoint
Signed-off-by: 0x2a <stevesough@gmail.com >
* feat: add scope support
Signed-off-by: 0x2a <stevesough@gmail.com >
* fix: modify the endpoint of discovery
Signed-off-by: 0x2a <stevesough@gmail.com >
2022-01-26 11:56:01 +08:00
fe48c38bc6
feat: support minio ( #418 )
...
Signed-off-by: abingcbc <abingcbc626@gmail.com >
2022-01-13 21:48:00 +08:00
ba32a45693
Add ClaimsShort to fix the JWT user's owner and name empty bug.
2022-01-03 22:54:27 +08:00
5e8897e41b
Make cert work.
2021-12-31 10:02:06 +08:00
00f06930ba
fix: adjust the accessToken field ( #378 )
...
* fix: adjust the accessToken field
Signed-off-by: 0x2a <stevesough@gmail.com >
* fix: missing name and owner
Signed-off-by: 0x2a <stevesough@gmail.com >
2021-12-18 20:19:38 +08:00
755d912f61
feat: add refresh token mechanism for server side ( #336 )
...
* feat: add refresh token mechanism for server side
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* feat: add refresh token expire configuration UI
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2021-12-18 18:49:38 +08:00
95f2a3b311
Add TokenFormat to application.
2021-12-18 16:16:34 +08:00
98f6cc0085
feat: add OIDC feature support. ( #373 )
...
1. add nonce parameter.
2. add sub in userinfo endpoint.
Signed-off-by: 0x2a <stevesough@gmail.com >
2021-12-15 21:42:16 +08:00
96e2f286ee
Merge into one origin config.
2021-12-12 19:26:06 +08:00
825de2bdaa
fix: fix incorrect issuer in id token of oidc ( #333 )
...
Signed-off-by: Товарищ <2962928213@qq.com >
2021-11-19 16:32:05 +08:00
5526286ad8
Use RS256 to sign JWT token.
2021-10-30 14:18:48 +08:00
795240687d
Improve token var name.
2021-10-30 14:18:38 +08:00
6c30ccfb14
Update github.com/golang-jwt/jwt to v4.
2021-10-10 11:51:19 +08:00
802df55009
Switch to github.com/golang-jwt/jwt
2021-10-10 11:06:54 +08:00
4f2668cd90
Remove password in JWT token payload.
2021-10-03 22:08:40 +08:00
d79544f34a
Use User in Claims.
2021-08-14 14:15:52 +08:00
58c7a60220
Show error in AccessToken.
2021-06-01 22:03:04 +08:00
987bb14a6b
Add more fields to Claims.
2021-04-27 00:43:38 +08:00
4ea6529969
Add Avatar to claims.
2021-03-28 21:57:22 +08:00
f5ceae901b
Support auto-login.
2021-03-28 16:53:49 +08:00
df948e9e34
Fix JWT token bugs.
2021-03-14 23:08:08 +08:00
f014554415
Generate real access token.
2021-03-14 22:48:09 +08:00