Yang Luo
64d3b7e87f
Add EnableSigninSession to app.
2021-12-28 17:15:47 +08:00
Yang Luo
7cfece3019
Add GetMaskedProvider() and GetMaskedProviders().
2021-12-21 00:20:12 +08:00
Steve0x2a
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
Yixiang Zhao
370e835499
feat: support AuthnRequest in SAML ( #372 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2021-12-15 21:38:00 +08:00
Yixiang Zhao
4ca5f4b196
feat: add Keycloak idp support ( #356 )
...
* feat: add Keycloak idp support
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: fix the profile UI
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2021-12-13 19:49:30 +08:00
Gucheng Wang
94c78593fc
Fix bug in Login().
2021-12-12 20:07:51 +08:00
Gucheng Wang
f4265d015a
Improve user error handling.
2021-12-12 19:59:55 +08:00
Yixiang Zhao
b73b9a65b6
feat: support third-party application to login with SAML rather than only Casdoor itself ( #350 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2021-12-10 00:23:04 +08:00
Bingchang Chen
70a550d8bc
feat: login by code ( #344 )
...
Signed-off-by: abingcbc <abingcbc626@gmail.com>
2021-12-07 00:05:53 +08:00
Yixiang Zhao
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
Товарищ программист
07fa438348
feat: update swagger api json with tags ( #347 )
...
Signed-off-by: Товарищ программист <2962928213@qq.com>
2021-12-03 20:42:36 +08:00
Gucheng Wang
30a2fdef37
Make webhook work.
2021-11-07 23:53:17 +08:00
Gucheng Wang
5ec678fa28
Improve record's User field.
2021-11-07 17:20:15 +08:00
Gucheng Wang
77fffcacac
Refactor the record code.
2021-11-07 16:51:16 +08:00
Gucheng Wang
9e920181d2
Add user soft deletion.
2021-11-06 15:52:03 +08:00
Yang Luo
568372d077
Support quick sign-in.
2021-10-09 21:17:03 +08:00
Yang Luo
b3eec024b8
Add getInitScore().
2021-08-30 01:06:05 +08:00
Yang Luo
eefcfd8440
Fix address null bug.
2021-08-27 23:43:43 +08:00
Yang Luo
4ca307564c
Add proxy pkg.
2021-08-21 22:16:25 +08:00
Yang Luo
398ba19fa5
Add CheckUserPassword() API.
2021-08-15 21:57:36 +08:00
Yang Luo
40fbca7db4
Remove UploadAvatarToStorage().
2021-08-14 14:20:24 +08:00
Yang Luo
9feefc31f9
Use c.ResponseOk() for all places.
2021-08-14 14:19:50 +08:00
Yang Luo
d16569d461
Use c.ResponseError() for all places.
2021-08-14 14:19:33 +08:00
Yang Luo
6aeadfa3bd
Improve provider check.
2021-08-14 14:19:23 +08:00
sh1luo
8c66ef6860
fix: improve code specification ( #231 )
2021-08-14 14:18:08 +08:00
Kininaru
c0ab24205d
feat: add user initScore in app.conf ( #220 )
...
Signed-off-by: Kininaru <shiftregister233@outlook.com>
-> 2000
2021-08-03 23:28:02 +08:00
Yang Luo
1a2d85102c
Support defaultHttpClient.
2021-08-01 17:36:03 +08:00
Kininaru
3d493b8d8f
feat: integrate Storage config into providers ( #198 )
...
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-07-26 11:39:49 +08:00
sh1luo
c632c3c307
fix: replace casdoor with casbin ( #194 )
...
Signed-off-by: sh1luo <690898835@qq.com>
2021-07-25 09:34:25 +08:00
Kininaru
4a930121c4
feat: session without autosignin will expire
...
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-07-19 10:14:14 +08:00
Kininaru
d83b86df37
refactor: SessionUser -> SessionUsername
...
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-07-19 10:14:14 +08:00
killer
21b36bbb47
feat: add UI to view logs
...
Signed-off-by: killer <1533063601@qq.com>
2021-07-19 10:11:01 +08:00
Yang Luo
9c233e42c0
Add SignupApplication to user.
2021-06-21 10:22:47 +08:00
Yang Luo
64f85fdc6c
Fix get null object bug.
2021-06-21 01:09:02 +08:00
Yang Luo
54e97d57bf
Use OAuth avatar to update default avatar.
2021-06-21 00:54:07 +08:00
Yang Luo
b189993547
Login page can also enter prompt page.
2021-06-20 22:17:03 +08:00
Yang Luo
d3a8ab8347
Finish the prompt page logic.
2021-06-20 11:52:04 +08:00
Yang Luo
6dc3fd0f45
Avoid linking the same account twice.
2021-06-18 23:25:24 +08:00
Yang Luo
5a852bfd1d
Use new providerItem.
2021-06-14 22:42:34 +08:00
Yang Luo
1025a7c118
Allow to oauth login by name.
2021-06-12 12:46:25 +08:00
Yang Luo
c4de5449af
Fix properties in "sign up via OAuth".
2021-06-11 23:37:06 +08:00
Yang Luo
8e5f3c18e1
Add UpdateUserInternal().
2021-06-09 21:41:27 +08:00
Yang Luo
f672045b45
Allow to sign up with OAuth.
2021-06-09 21:28:33 +08:00
Yang Luo
04a246355e
Handle json error in Login().
2021-06-09 19:54:26 +08:00
Yang Luo
ec5a574ce6
Show null provider error.
2021-06-06 11:19:28 +08:00
Weihao Chen
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
Yang Luo
29049297d8
Fix old-format oauth data bugs.
2021-06-01 23:32:34 +08:00
Yang Luo
2e7ef69f07
Add some fields to User.
2021-06-01 20:37:00 +08:00
Yang Luo
95cda41732
Improve UserInfo.
2021-05-31 01:23:32 +08:00
Yang Luo
dc89f2b0f6
Add Properties to user.
2021-05-30 18:24:22 +08:00