589c0404d2
Fix dataSourceName config to use correct DB host in Docker.
2021-12-12 23:51:53 +08:00
113398c36b
feat: support SAML and test with aliyun IDaaS ( #346 )
...
* feat: support SAML and test with aliyun IDaaS
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* refactor: refactor saml.go and router
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: add param to getSamlLogin()
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* feat: add inputs to parse metadata automatically and show sp-acs-url, sp-entity-id
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2021-12-06 21:46:50 +08:00
bddd57cda8
feat: implement jwks_uri handler in oidc discovery ( #334 )
...
Signed-off-by: Товарищ <2962928213@qq.com >
2021-11-22 17:47:44 +08:00
a1b5282da9
Add /.well-known/openid-configuration route.
2021-09-25 14:54:13 +08:00
e4846807cd
Show resource list page to users.
2021-09-06 00:49:10 +08:00
14d09cad2c
Support server-side upload-resource call.
2021-09-05 01:03:29 +08:00
b3eec024b8
Add getInitScore().
2021-08-30 01:06:05 +08:00
dc0712c8a5
Replace getDefaultApplication() with getUserApplication().
2021-07-19 10:12:04 +08:00
1cb5ae54c5
feat: add "forget password" [front & backend] ( #75 )
...
* feat: add "forget password" [front & backend]
Signed-off-by: Weihao <1340908470@qq.com >
* fix: verification code can be sent even if no mobile phone or email is selected
refactor: forgetPassword -> forget; GetEmailAndPhoneByUsername -> GetEmailAndPhone; remove useless note
Signed-off-by: Weihao <1340908470@qq.com >
2021-06-02 13:39:01 +08:00
31d981baf1
Fix small issues.
2021-05-23 23:38:38 +08:00
f39378562f
feat: turing test before send code
...
Signed-off-by: Kininaru <shiftregister233@outlook.com >
i18n
i18n
Signed-off-by: Kininaru <shiftregister233@outlook.com >
2021-05-22 21:03:49 +08:00
66d953a6c1
feat: check user email and phone when signing up
...
Signed-off-by: Kininaru <shiftregister233@outlook.com >
phone prefix error
Signed-off-by: Kininaru <shiftregister233@outlook.com >
fix i18n
Signed-off-by: Kininaru <shiftregister233@outlook.com >
fix i18n error
Signed-off-by: Kininaru <shiftregister233@outlook.com >
removed useless file
Signed-off-by: Kininaru <shiftregister233@outlook.com >
move timeout to app.conf
Signed-off-by: Kininaru <shiftregister233@outlook.com >
i18n
Signed-off-by: Kininaru <shiftregister233@outlook.com >
made verification code reusable
Signed-off-by: Kininaru <shiftregister233@outlook.com >
2021-05-18 22:20:26 +08:00
4b9ce5f401
Fix add/update salted password.
2021-05-16 21:04:26 +08:00
fce4efcb84
Call Enforcer.ClearPolicy() to remove previous rules in DB.
2021-05-13 22:50:50 +08:00
be0cfa132e
Rename db to driverName.
2021-05-02 00:34:15 +08:00
6dcece3990
feat: add pg for db adapter ( #50 )
...
Signed-off-by: Kininaru <shiftregister233@outlook.com >
fix: postgres creating failed
Signed-off-by: Kininaru <shiftregister233@outlook.com >
nil
Signed-off-by: Kininaru <shiftregister233@outlook.com >
rewrite postgres logic
Signed-off-by: Kininaru <shiftregister233@outlook.com >
removed pq from dependencies
Signed-off-by: Kininaru <shiftregister233@outlook.com >
comment pq
Signed-off-by: Kininaru <shiftregister233@outlook.com >
typo
Signed-off-by: Kininaru <shiftregister233@outlook.com >
comment
Signed-off-by: Kininaru <shiftregister233@outlook.com >
2021-04-29 21:53:42 +08:00
7a0ed4ebaf
Replace "register" with "sign up".
2021-04-27 22:47:44 +08:00
43113a0ee4
Fix "/api/unlink" bug.
2021-04-27 20:42:19 +08:00
f0ffacb6a5
Improve user page i18n.
2021-04-27 18:08:21 +08:00
5326cafbed
Add policy to allow account page access.
2021-04-27 00:45:37 +08:00
7f367ae346
Fix AuthCallback's code handling.
2021-03-21 00:38:00 +08:00
808e6c6283
Finish /login/oauth/authorize
2021-03-20 22:34:22 +08:00
1fd6ee388c
Add /api/oauth/code API.
2021-03-14 18:18:03 +08:00
202a94a8e5
Add /api/oauth/token API.
2021-03-14 00:18:11 +08:00
e792e814d4
Add other authz rules.
2021-03-06 00:40:11 +08:00
f3f902af45
Parse subOwner, subName.
2021-02-28 23:14:48 +08:00
ba4185c9b1
Add AuthzFilter.
2021-02-28 20:23:50 +08:00