414 Commits

Author SHA1 Message Date
Gucheng Wang
d5f18f2d64 Support SilentSignin. 2022-01-23 13:02:55 +08:00
Steve0x2a
02c06bc93c
feat: add baidu support as idp (#438)
* feat: add baidu support as idp

Signed-off-by: Steve0x2a <stevesough@gmail.com>

* fix: add license

Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-01-22 19:36:44 +08:00
Steve0x2a
630b84f534
feat: add PKCE support (#434)
* feat: add PKCE support

Signed-off-by: Steve0x2a <stevesough@gmail.com>

* fix: error output when challenge is empty

Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-01-21 09:29:19 +08:00
Gucheng Wang
728fe11a3c Refactor CountDownInput. 2022-01-07 20:34:27 +08:00
Yang Luo
dbebd1846f Fix code sign-in link hiding. 2021-12-31 13:36:10 +08:00
Yang Luo
d5f802ec7d Support IdCard in signup page. 2021-12-28 17:48:24 +08:00
Yang Luo
cc8c9b32ef Fix missing options in renderOptions(). 2021-12-24 14:09:12 +08:00
Yang Luo
7cfece3019 Add GetMaskedProvider() and GetMaskedProviders(). 2021-12-21 00:20:12 +08:00
Yang Luo
3efbcc739d Support WeChat MP at the same time. 2021-12-20 23:36:28 +08:00
Steve0x2a
99ef329325
feat: support mobile login with WeChat Official Accounts (#383)
* fix: adjust the accessToken field

Signed-off-by: 0x2a <stevesough@gmail.com>

* fix: missing name and owner

Signed-off-by: 0x2a <stevesough@gmail.com>

* feat: support mobile login with WeChat

Signed-off-by: 0x2a <stevesough@gmail.com>
2021-12-20 20:21: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
cf9e628a3e Improve authConfig. 2021-12-13 16:42:54 +08:00
Steve0x2a
967113689d
feat: add three idp support by goth. (#351)
1. add 3 providers: apple, azuread(v1) and slack.
2. support importing providers from goth.

Signed-off-by: 0x2a <stevesough@gmail.com>
2021-12-10 00:55:27 +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
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