439 Commits

Author SHA1 Message Date
Yixiang Zhao
86b5d72e5d
fix: concatChar assignment logic (#595)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-03-20 11:54:14 +08:00
Yixiang Zhao
6bc4e646e5
fix: oAuthParams may not exist (#594)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-03-20 10:33:50 +08:00
Yixiang Zhao
dcd6328498
fix: callback url param missing (#583)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-03-19 20:01:44 +08:00
Yi Zhan
8080927890
fix: redirect for non-built-in app logout (#587)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-03-19 19:50:05 +08:00
Yang Luo
a95c5b05a9 Remove GitHub provider hacking code. 2022-03-19 19:43:54 +08:00
Yixiang Zhao
865a65d399
fix: fix the params problem in code signin (#577)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-03-18 20:12:29 +08:00
Yi Zhan
e8b9c67671
feat: add casdoor as itself idp support (#578)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-03-18 18:28:46 +08:00
Yixiang Zhao
9f7924a6e0
fix: mask email and phone number on the backend (#563)
* fix: mask email and phone number on the backend

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

* fix: login with masked email or phone

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

* fix: improve regex

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-03-15 12:54:57 +08:00
Yixiang Zhao
35bef969fd
feat: support Huawei Cloud SMS (#565)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-03-14 20:49:03 +08:00
Yang Luo
5de417ecf7 Add gc provider. 2022-03-14 00:32:36 +08:00
Товарищ программист
ca0fa5fc40
fix: fix missing parameters when signup (#533) 2022-03-05 16:47:08 +08:00
Steve0x2a
697b3e4998
feat: add implicit flow support (#520)
* feat: add implicit flow support

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

* fix: idp support in implicit flow

Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-03-01 19:09:59 +08:00
Yang Luo
21392dcc14 Support user's first name and last name. 2022-02-27 14:02:52 +08:00
Gucheng Wang
07c90e048f Update personal name. 2022-02-21 16:01:39 +08:00
Steve0x2a
a33076ada4
feat: add AD-FS support (#505)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-02-20 15:01:48 +08:00
Steve0x2a
661abd6b6e
feat: add steam support (#497)
* feat: add steam support

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

* fix: wrong name

Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-02-16 19:57:46 +08:00
Товарищ программист
adf036d8c7
fix: fix missing username in forgetpage (#487) 2022-02-14 19:47:18 +08:00
Gucheng Wang
db37f53d6c Update license headers. 2022-02-13 23:39:27 +08:00
Yang Luo
3aab6c8687 Support from link. 2022-02-12 09:55:06 +08:00
Steve0x2a
eb15afec34
fix: use new dingtalk api and support qrcode method (#486)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-02-10 17:14:18 +08:00
Steve0x2a
5640d258bb
fix: missing state parameter (#478)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-02-07 15:54:37 +08:00
Steve0x2a
f85f4c0cf8
feat: add infoflow idp support (#472)
* feat: add infoflow internal backend support

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

* feat: add infoflow idp support

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

* fix: copyright and comment

Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-02-05 21:54:38 +08:00
Yang Luo
940aa2bc2d Add payment pages. 2022-02-05 20:13:15 +08:00
Steve0x2a
d943d5cc61
fix: oauth params null value error (#465)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-01-30 17:58:54 +08:00
Gucheng Wang
fbc73de3bb Support WeCom Internal sub type. 2022-01-28 23:57:54 +08:00
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