Товарищ программист
7f3b2500b3
feat: support webauthn ( #407 )
...
* feat: support webauthn
* Update init.go
* Update user_webauthn.go
* Update UserEditPage.js
* Update WebauthnCredentialTable.js
* Update LoginPage.js
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
2022-07-12 20:06:01 +08:00
leoshine
b9404f14dc
feat: fix bug of using email provider from wrong application ( #869 )
2022-07-10 00:40:52 +08:00
aecra
f0431701c9
fix: fix OAuth error response ( #835 )
...
* fix: fix OAuth error response
* fix: provide more detailed error messages for TokenError
2022-07-01 14:53:34 +08:00
Resulte Lee
a0e11cc8a0
feat: add aliyun captcha ( #833 )
...
* feat: add aliyun captcha provider
* Rename App key
* fix typo
* Rename HMACSHA1 & Reused clientId2 and clientSecret2
* Update ProviderEditPage.js
* Delete unused import
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
2022-06-29 11:31:32 +08:00
Resulte Lee
477d386f3c
fix: captcha preview panic when clientId or clientSecret is empty ( #824 )
...
* fix: captcha preview panic when clientId or clientSecret is empty
* return original errors from captcha
2022-06-26 22:09:57 +08:00
Ryao
31b586e391
feat: Add email config test on provider edit page ( #819 )
...
* feat: Add email config test on provider edit page
* Re-use send-email API
* Optimize code
Optimize code
* Update service.go
* Update service.go
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
2022-06-24 01:47:10 +08:00
leoshine
376bac15dc
fix: improve swagger Api docunment ( #812 )
2022-06-21 23:11:29 +08:00
Resulte Lee
2c57bece39
feat: fix stuck error when no captcha provider found ( #808 )
2022-06-21 12:22:46 +08:00
Resulte Lee
2e42511bc4
feat: support configurable captcha(reCaptcha & hCaptcha) ( #765 )
...
* feat: support configurable captcha(layered architecture)
* refactor & add captcha logo
* rename captcha
* Update authz.go
* Update hcaptcha.go
* Update default.go
* Update recaptcha.go
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
2022-06-18 16:00:31 +08:00
Ryao
37b6b50751
fix: remove redundant query for OAuth user ( #788 )
2022-06-10 15:58:22 +08:00
Ryao
efe5431f54
fix: OAuth user id confusion caused by username ( #785 )
2022-06-10 00:08:26 +08:00
Товарищ программист
3d0cf8788b
fix: trigger missing webhook ( #770 )
...
* fix: trigger missing webhook
* Update auth.go
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
2022-06-01 09:34:56 +08:00
Roobtyan
f7705931f7
fix: handle WeChat username conflicts ( #771 )
...
* handle username conflicts
* Update auth.go
Co-authored-by: roobtyan <roobtyan@qq.com>
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-05-31 21:51:41 +08:00
Yixiang Zhao
b85ad896bf
fix: saml endpoint crash ( #773 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-05-31 21:10:35 +08:00
Yixiang Zhao
42c2210178
fix: set phone prefix when disable verification code ( #769 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-05-30 18:26:42 +08:00
Yixiang Zhao
d52caed3a9
feat: add model page ( #757 )
...
* feat: add model page
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* feat: support config model for permission
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* translation and indentation
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-05-24 18:27:47 +08:00
xiexianbin
b747f5e27c
fix: mistake GetApplicationLogin swagger router (casdoor#739) ( #740 )
...
Signed-off-by: xiexianbin <me@xiexianbin.cn>
2022-05-04 19:15:13 +08:00
Resulte Lee
c4089eacb7
feat: Allow to sign up with Email without verification ( #728 )
...
* feat: Allow to sign up with Email without verification by rule
* Update account.go
* Update SignupTable.js
* Update SignupPage.js
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-05-02 17:19:40 +08:00
Yixiang Zhao
c05fb77224
fix: set sync ldap user default attributes ( #721 )
...
* fix: set the password of the sync ldap user to empty
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: set sync ldap user default attributes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-04-29 21:44:13 +08:00
Gucheng Wang
9af9ead939
Return invoiceUrl in invoice-payment API.
2022-04-28 15:07:57 +08:00
Gucheng Wang
ea005aaf4d
Improve InvoicePayment() error handling.
2022-04-27 00:24:48 +08:00
Gucheng Wang
cf3b46130b
Add InvoicePayment() API.
2022-04-26 22:17:53 +08:00
Frank Chang
b867872da4
fix: return right after error response on GetUserInfo ( #707 )
2022-04-26 14:32:04 +08:00
akkuman
28b9154d7e
fix: fix #693 token error ( #695 )
2022-04-23 01:12:06 +08:00
Товарищ программист
b0b3eb0805
fix: fix failure of introspection ( #682 )
...
* fix: fix failure of introspection
* Update token.go
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-04-22 22:45:52 +08:00
akkuman
0bc8c2d15f
fix: recover when goroutine panic that will kill main program ( #692 )
...
* fix #684
recover when goroutine panic that will kill main program
* Update util.go
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-04-22 21:59:06 +08:00
Yixiang Zhao
67a0264411
feat: add sync button to execute syncer once ( #668 )
...
* feat: add sync button to execute syncer once
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: requested changes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: requested changes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-04-18 16:27:34 +08:00
halozhy
287f60353c
feat: try to support custom OAuth provider ( #667 )
...
* feat: try to support private provider
* fix: modify code according to code review
* feat: set example values for custom params
2022-04-16 17:17:45 +08:00
Yixiang Zhao
530330bd66
feat: add isProfilePublic setting for accessing user info ( #656 )
...
* feat: add isProfilePublic setting for accessing user info
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: requested changes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-04-16 15:10:03 +08:00
Yi Zhan
b92d03e2bb
feat: add wechat mini program support ( #658 )
...
* feat: add wechat mini program support
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: accept suggestions.
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: error message and code level modification
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: simplify the use process
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-04-15 11:49:56 +08:00
Товарищ программист
7236cca8cf
feat: implement CAS 3.0 ( #659 )
2022-04-11 21:11:31 +08:00
Yi Zhan
15daf5dbfe
feat: add casdoor as saml idp support ( #571 )
...
* feat: add casdoor as saml idp support
Signed-off-by: 0x2a <stevesough@gmail.com>
* fix: merge code
Signed-off-by: 0x2a <stevesough@gmail.com>
* fix: modify response value
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: modify samlResponse generation method
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: generating a response using etree
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: change metadata url
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: modify front-end adaptation
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: recovering an incorrect override
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: change the samlResponse location
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: add relayState support
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-04-08 23:06:48 +08:00
Товарищ программист
3cf1b990be
feat: support CAS with organizations and applications ( #621 )
2022-04-04 00:09:04 +08:00
Yi Zhan
2023795f3c
fix: token endpoint supports json format ( #641 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-04-03 21:32:00 +08:00
Товарищ программист
5f8924ed4e
feat: support overriding configuration with env ( #590 )
2022-03-20 23:21:09 +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
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
Yang Luo
4dca3bd3f7
Add Notify() to payment provider.
2022-03-14 02:56:04 +08:00
Yang Luo
32af4a766e
Add GetUserPayments() API.
2022-03-13 14:56:21 +08:00
Yang Luo
4d035bf66d
Add tags to organization.
2022-03-13 00:35:49 +08:00
Yang Luo
c906f1e5d2
Add user and state to payment pages.
2022-03-12 20:03:58 +08:00
Gucheng Wang
3602d9b9a7
fix: improve error messages
2022-03-07 15:16:09 +08:00
Yixiang Zhao
8a9cc2eb8f
fix: change client_secret in refresh_token API as optional ( #540 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-03-07 13:52:51 +08:00
Yang Luo
a4fc04474e
Add NotifyPayment API.
2022-03-07 00:33:45 +08:00
Yang Luo
bf5d4eea48
Add alipay provider.
2022-03-06 22:46:02 +08:00
Yang Luo
0e40a1d922
Check application existence in login().
2022-03-06 00:09:57 +08:00
fuh
a783315fa2
fix: Returns a valid userId when form.Username is empty ( #523 )
...
* fix: Returns a valid userId when form.Username is empty
* fix: format code
2022-03-04 23:39:12 +08:00
Nekotoxin
4d48517be9
fix: fix the No.0 bug(for all sign up methods) ( #535 )
2022-03-04 13:06:21 +08:00
Leon
178cf7945d
feat: improve token introspection endpoint ( #534 )
...
* feat: add introspection endpoint to oidc discovery endpoint
* fix: let introspect endpoint handle formData as spec define.
Signed-off-by: Leon <leondevlifelog@gmail.com>
2022-03-04 08:54:33 +08:00
Leon
ab5af979c8
feat: add Oauth 2.0 Token Introspection(rfc7662) endpoint support ( #532 )
...
Signed-off-by: Leon <leondevlifelog@gmail.com>
2022-03-03 17:48:47 +08:00