349 Commits

Author SHA1 Message Date
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
Gucheng Wang
667158f585 Show message for signing up with at least 6 chars' password. 2021-12-06 09:38:22 +08:00
Gucheng Wang
d2565e03c8 Add tencent_cloud_cos.go 2021-12-03 15:12:16 +08:00
Gucheng Wang
d6c9ee508c Add code sign in UI. 2021-11-28 21:15:58 +08:00
Gucheng Wang
d224e728a3 Reduce CountDownInput args. 2021-11-28 20:57:14 +08:00
Gucheng Wang
36b7993994 Improve UI. 2021-11-28 20:18:03 +08:00
Gucheng Wang
c10ccd8106 Improve provider table in app edit page. 2021-11-28 18:56:56 +08:00
Gucheng Wang
7923bffa6d Improve forget page CSS. 2021-11-28 14:23:00 +08:00
Gucheng Wang
4e92a8273c Improve forget page logic. 2021-11-28 11:10:07 +08:00
Lex Lim
abba56a6f3
fix: display "Continue with (User)" button of another organization (#327)
Signed-off-by: Lex Lim <hyperzlink@outlook.com>
2021-11-11 20:43:26 +08:00
Gucheng Wang
cbf973882d Show CustomGithubCorner in other pages. 2021-11-06 22:04:20 +08:00
Gucheng Wang
2e1b51910f Support custom HTML for signup and signin pages. 2021-10-30 14:18:58 +08:00
Yang Luo
353bf46daf Improve non-oauth logos. 2021-10-10 00:04:25 +08:00
Yang Luo
122970bb54 Improve provider logos. 2021-10-09 22:33:39 +08:00
Yang Luo
fa3681ed75 Add authInfo to js. 2021-10-09 22:15:43 +08:00
Yang Luo
568372d077 Support quick sign-in. 2021-10-09 21:17:03 +08:00
Yang Luo
a1b5282da9 Add /.well-known/openid-configuration route. 2021-09-25 14:54:13 +08:00
Yang Luo
63c720985b Fix email must input bug in signup page. 2021-09-21 14:04:33 +08:00
Yang Luo
d62a5fd7de Don't auto-redirect when enablePassword is false in login page. 2021-09-20 22:55:17 +08:00
Yang Luo
355b0b35d0 Fix gitee login link. 2021-09-07 21:46:44 +08:00
sh1luo
edf621f4d5 feat: support web-auth way for wecom (#275)
Signed-off-by: sh1luo <690898835@qq.com>
2021-08-23 23:12:53 +08:00
sh1luo
75e917a070 feat: add gitlab provider (#273)
Signed-off-by: sh1luo <690898835@qq.com>
2021-08-19 22:13:40 +08:00
Yang Luo
495b64995f Add resource list page. 2021-08-15 00:25:46 +08:00
sh1luo
c05b27c38f
feat: add lark provider (#264)
Signed-off-by: sh1luo <690898835@qq.com>
2021-08-14 16:00:38 +08:00
WindSpiritSR
8c6f0a31b6 feat: support storage provider to terms of use file (#221)
Signed-off-by: WindSpiritSR <simon343riley@gmail.com>
2021-08-14 14:23:15 +08:00
Yang Luo
0a461bf19e Directly login with the only OAuth provider. 2021-08-14 14:13:30 +08:00
Yang Luo
5afe3ed650 Set autoSignin to true by default. 2021-08-14 14:08:29 +08:00
Yang Luo
0c657f0487 Get real IP for verification log. 2021-08-03 22:34:12 +08:00
Yang Luo
acca9eacdc Add app's TermsOfUse. 2021-08-03 21:00:17 +08:00
sh1luo
bf77992457
fix: add missing provider buttons (#215)
Signed-off-by: sh1luo <690898835@qq.com>
2021-08-01 22:10:47 +08:00
Yang Luo
629ae5a54b Improve OAuth params. 2021-08-01 14:27:53 +08:00
Yang Luo
e39c3b7613 Fix signup page silent bug for sign-up-without-prompt-items case. 2021-08-01 00:16:21 +08:00
sh1luo
bc5e748e5c
feat: add country/region select (#207)
Signed-off-by: sh1luo <690898835@qq.com>
2021-07-31 16:02:48 +08:00
sh1luo
512a451800
feat: add wecom provider (#200)
Signed-off-by: sh1luo <690898835@qq.com>
2021-07-28 20:36:27 +08:00
sh1luo
21b4e0e51d
fix: clear all console warnings (#192)
Signed-off-by: sh1luo <690898835@qq.com>
2021-07-25 11:10:45 +08:00
turbodog03
3bbb0fb58e
feat: improve border (#190)
Signed-off-by: turbodog03 <63595854+turbodog03@users.noreply.github.com>
2021-07-24 20:38:33 +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
WindSpiritSR
a22dfd8954 fix: db data init and frontend warning
Signed-off-by: WindSpiritSR <simon343riley@gmail.com>
2021-07-19 10:13:01 +08:00
Yang Luo
6ae8e537b9 Improve translation. 2021-07-19 10:00:26 +08:00
wasabi
c963ba6098 feat: add linkedin provider
Signed-off-by: wasabi <690898835@qq.com>
2021-07-19 09:57:43 +08:00
Yang Luo
a42a76400e Improve "Send Code" button style. 2021-06-27 00:52:15 +08:00
Yang Luo
2ba44748c2 Add maskEmail(), fix Safari bug. 2021-06-25 21:35:20 +08:00
wasabi
6ac364074a feat: Send-code-button-should-be-gray-out-with-empty-or-invalid-Email-or-phone
Signed-off-by: wasabi <690898835@qq.com>
2021-06-24 20:49:37 +08:00
Yang Luo
1e9cca02fc
Merge pull request #117 from turbodog03/turbodog03
fix: improve i18n and add some translation
2021-06-22 23:10:34 +08:00
killer
c9f93b0785 fix: Application null error
Signed-off-by: killer <1533063601@qq.com>
2021-06-22 13:07:02 +08:00
Yang Luo
64f85fdc6c Fix get null object bug. 2021-06-21 01:09:02 +08:00
Yang Luo
b189993547 Login page can also enter prompt page. 2021-06-20 22:17:03 +08:00
Yang Luo
a43db3e55a Fix prompt redirect logic and db sync bug. 2021-06-20 13:56:32 +08:00