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
ae4ab9902b
Add accountTable.
2022-06-18 01:41:21 +08:00
61c80e790f
Fix Authentication failure! invalid_ticket: OneLogin::RubySaml::ValidationError #798 ( #799 )
2022-06-17 18:35:44 +08:00
ee42fcac8e
Remove signup_item.go
2022-06-16 20:52:54 +08:00
604e2757c8
fix: fix the problem that user owner is not updated when updating organization name ( #775 )
...
* fix: use openid or unionid as username rather than nickname when logging with WeChat
FIX #762
* fix: fix the problem that user owner is not updated when updating organization name
* Update wechat.go
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-06-03 00:37:22 +08:00
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
98f77960de
feat: add Douyin OAuth provider ( #753 )
2022-05-15 20:59:21 +08:00
e5b71a08ae
feat: support "+" in syncer column name ( #752 )
...
* feat: support + in syncer column name
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* feat: trim
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-05-13 20:24:46 +08:00
3ad4b7a43c
feat: add Bilibili OAuth ( #720 )
...
* implemented bilibili oauth
* add bilibili oauth
* add document address
* add frontend page
* uncheck
2022-05-12 10:07:52 +08:00
8efd964835
fix: unchanged masked client_secret/password updated to ***
( #749 )
2022-05-10 17:37:12 +08:00
49c3266400
Fix missing OIDC response_types_supported.
2022-05-07 09:36:20 +08:00
39548d5d72
Change cert default algorithm to RS256.
2022-05-06 09:34:42 +08:00
8b340105c1
fix: fix missing OpenLDAP uid in ldap.go
2022-05-04 10:23:17 +08:00
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
fc0ca4cceb
Add Okta OAuth provider ( #729 )
2022-05-01 18:31:42 +08:00
912d9d0c01
feat: DingTalk provider value case unsensitive ( #724 )
2022-04-30 16:20:20 +08:00
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
9af9ead939
Return invoiceUrl in invoice-payment API.
2022-04-28 15:07:57 +08:00
f5590c42f7
Add payerName to provider.
2022-04-28 14:50:59 +08:00
5597f99e3c
Scroll to payment page bottom.
2022-04-27 01:32:36 +08:00
ea005aaf4d
Improve InvoicePayment() error handling.
2022-04-27 00:24:48 +08:00
cf3b46130b
Add InvoicePayment() API.
2022-04-26 22:17:53 +08:00
cab51fae9c
fix: add 'use' and 'alg' in .well-known/jwks ( #708 )
...
* fix: add 'use' and 'alg' in .well-known/jwks
* fix: dynamically assign value to 'alg' param
2022-04-26 21:53:05 +08:00
3f90c18a19
Add invoiceType to payment.
2022-04-25 20:58:53 +08:00
9e5a64c021
Add new payment fields
2022-04-25 20:40:50 +08:00
fb7e2729c6
fix: support Microsoft AD user search ( #704 )
2022-04-25 12:20:59 +08:00
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
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
a6a055cc83
Fix: ExpiresIn of token should be seconds. ( #676 )
...
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com >
2022-04-18 10:57:51 +08:00
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
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
70a1428972
Improve resource DB column length.
2022-04-16 13:23:05 +08:00
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
9877174780
fix: add independent error message in token endpoint ( #662 )
...
* fix: add independent error message in token endpoint
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: reduced use of variables
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: error messages use the same variable
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-04-14 10:22:56 +08:00
7236cca8cf
feat: implement CAS 3.0 ( #659 )
2022-04-11 21:11:31 +08:00
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
801302c6e7
feat: support user migration from Keycloak using syncer ( #645 )
...
* feat: support user migration from Keycloak using syncer
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* feat: add more Keycloak columns
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: requested changes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-04-06 20:38:14 +08:00
3cf1b990be
feat: support CAS with organizations and applications ( #621 )
2022-04-04 00:09:04 +08:00
8d13bf7e27
feat: add Alipay support as idp ( #638 )
...
* feat: add alipay support as idp
* fix: rename a static svg icon
* fix: sort imports
* fix: no longer use pkcs8 package
2022-04-02 22:37:13 +08:00
7a95b9c1d5
Init DB only when necessary.
2022-03-31 12:28:45 +08:00
0fc0ba0c76
feat: support global admin to modify the email and phone of other users ( #633 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-03-30 20:27:23 +08:00
24459d852e
fix: comparing hashed password with plain text password during password grant ( #627 )
...
* fix: use object.CheckPassword for password grant
* Apply suggestions from code review
fix: remove log per change request
2022-03-30 00:37:38 +08:00
e3f5bf93b2
fix: adjust the password check logic for ldap user ( #597 )
...
* fix: the password check logic for ldap user.
LDAP user should only use the ldap connection to check the password.
* fix: code format
2022-03-28 17:19:58 +08:00
879ca6a488
fix: refresh_token api return old token ( #623 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-03-27 23:10:05 +08:00
cd76e9372e
feat: delete the old token when refreshing token ( #617 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-03-24 19:58:12 +08:00
a78b2de7b2
fix: panic when not select one provider ( #614 )
...
Signed-off-by: Sagilio <Sagilio@outlook.com >
2022-03-24 12:15:10 +08:00
ade64693e4
fix: support lower go version(1.15) ( #599 )
...
* fix: support lower go version(1.15)
* fix: support lower go version(1.15)
* fix: support lower go version(1.15)
2022-03-21 21:55:16 +08:00
5f8924ed4e
feat: support overriding configuration with env ( #590 )
2022-03-20 23:21:09 +08:00
447dd1c534
feat: update the uploaded user field and provide demo xlsx file ( #596 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-03-20 22:28:22 +08:00
0841eb5c30
Fix !skipCi directive.
2022-03-19 23:15:19 +08:00