Yang Luo
ba1646a0c3
Add cert pages.
2021-12-31 00:36:36 +08:00
Yang Luo
519fd655cf
Add GetMaskedApplication() and GetMaskedApplications().
2021-12-29 20:04:39 +08:00
Yang Luo
377ac05928
Don't clear session in SetPassword().
2021-12-28 23:07:09 +08:00
Yang Luo
d5f802ec7d
Support IdCard in signup page.
2021-12-28 17:48:24 +08:00
Yang Luo
64d3b7e87f
Add EnableSigninSession to app.
2021-12-28 17:15:47 +08:00
Yixiang Zhao
10a85f2386
feat: add server-side search, filter and sorter for all pages ( #388 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2021-12-25 10:55:10 +08:00
Yang Luo
7cfece3019
Add GetMaskedProvider() and GetMaskedProviders().
2021-12-21 00:20:12 +08:00
Yixiang Zhao
755d912f61
feat: add refresh token mechanism for server side ( #336 )
...
* feat: add refresh token mechanism for server side
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* feat: add refresh token expire configuration UI
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2021-12-18 18:49:38 +08:00
Gucheng Wang
16cc64f08d
Fix translation.
2021-12-18 11:42:56 +08:00
Gucheng Wang
318cf52b33
Refactor the original db code.
2021-12-18 01:08:03 +08:00
Gucheng Wang
07f9a9ee96
Add more fields to syncer.
2021-12-17 20:33:03 +08:00
Gucheng Wang
c2110ef59d
Add sync pages.
2021-12-17 16:35:45 +08:00
Steve0x2a
2f70e77e53
fix: wrong sub return and docker-compose boolean value error. ( #375 )
...
* fix: wrong sub return
Signed-off-by: 0x2a <stevesough@gmail.com>
* fix: yaml bool value must be enclosed in quotes
Signed-off-by: 0x2a <stevesough@gmail.com>
2021-12-16 11:10:25 +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
Товарищ программист
f43d01c5c2
feat: implement automatic synchronization for ldap users ( #371 )
...
Signed-off-by: Товарищ программист <2962928213@qq.com>
2021-12-15 17:45:11 +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
Eng Zer Jun
726e4e3dc1
refactor: move from io/ioutil to io and os packages ( #366 )
...
* chore: format code by running `go fmt ./...`
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
* refactor: move from io/ioutil to io and os packages
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-12-13 09:49:43 +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
Gucheng Wang
6ba658ac60
Support columns arg in UpdateUser().
2021-12-11 14:45:08 +08:00
Gucheng Wang
cc47f3b65d
Improve UpdateUserToOriginalDatabase().
2021-12-11 13:45:26 +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
Товарищ программист
e888ff8475
fix: add id_token and support auth header ( #338 )
2021-11-28 18:54:58 +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
Gucheng Wang
44b59d866a
Add more args to UploadResource().
2021-11-21 16:21:35 +08:00
Gucheng Wang
95600414d9
Add UploadFileSafe().
2021-11-20 17:26:58 +08:00
Gucheng Wang
9eb09b7db0
Add GetUserNoCheck().
2021-11-20 15:46:54 +08:00
Gucheng Wang
91c0282040
Support username arg in UploadResource().
2021-11-20 15:35:33 +08:00
Gucheng Wang
0b3742b0b1
Add GetSortedUsers() and GetUserCount() APIs.
2021-11-19 10:51:06 +08:00
Gucheng Wang
63f33d0ad9
Improve email and phone checking in Signup().
2021-11-09 20:29:38 +08:00
Gucheng Wang
54ef2ec09f
Expose GetOAuthCode() as API.
2021-11-08 23:28:41 +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
0e71e603ac
Add webhook pages.
2021-11-07 16:24:13 +08:00
Gucheng Wang
467d709b8e
Add MasterPassword to organization.
2021-11-06 21:14:53 +08:00
Gucheng Wang
9e920181d2
Add user soft deletion.
2021-11-06 15:52:03 +08:00
Yixiang Zhao
b1db47bad1
feat: add server-side pagination ( #312 )
...
Signed-off-by: “seriouszyx” <seriouszyx@foxmail.com>
2021-11-06 11:32:22 +08:00
Yixiang Zhao
609e9785e4
fix: some bugs about SMS API ( #310 )
...
Signed-off-by: “seriouszyx” <674965440@qq.com>
2021-10-31 08:49:39 +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
Jing Liu
e61e46f1e5
fix: signup logic when email and phone not enabled ( #298 )
...
Signed-off-by: chinggg <24590067+chinggg@users.noreply.github.com>
2021-09-21 14:11:05 +08:00
Yang Luo
e4846807cd
Show resource list page to users.
2021-09-06 00:49:10 +08:00
Yang Luo
a1b16f88d1
Add user to Resource.
2021-09-05 23:46:56 +08:00
Yang Luo
ef1195960e
Improve SendSms() API.
2021-09-05 13:15:38 +08:00
Yang Luo
089f4ff480
Handle error in go-sms-sender.
2021-09-05 10:56:11 +08:00