891 Commits

Author SHA1 Message Date
greenhandatsjtu
fc0ca4cceb
Add Okta OAuth provider (#729) 2022-05-01 18:31:42 +08:00
Resulte Lee
912d9d0c01
feat: DingTalk provider value case unsensitive (#724) v1.45.0 2022-04-30 16:20:20 +08:00
zc
8e48bddf5f
remove extra parentheses showing account numbers (#726) 2022-04-30 15:20:08 +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>
v1.44.9
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
f5590c42f7 Add payerName to provider. 2022-04-28 14:50:59 +08:00
Gucheng Wang
5597f99e3c Scroll to payment page bottom. 2022-04-27 01:32:36 +08:00
Gucheng Wang
ea005aaf4d Improve InvoicePayment() error handling. 2022-04-27 00:24:48 +08:00
Gucheng Wang
e5c1f560c5 Fix bug in payment. 2022-04-27 00:07:13 +08:00
Gucheng Wang
20fc7d1b58 Add payment modal. 2022-04-26 23:40:33 +08:00
Gucheng Wang
cf3b46130b Add InvoicePayment() API. 2022-04-26 22:17:53 +08:00
halozhy
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
v1.44.8
2022-04-26 21:53:05 +08:00
Frank Chang
b867872da4
fix: return right after error response on GetUserInfo (#707) v1.44.7 2022-04-26 14:32:04 +08:00
Gucheng Wang
305867f49a Add checkError() to payment. 2022-04-25 21:39:46 +08:00
Gucheng Wang
3f90c18a19 Add invoiceType to payment. 2022-04-25 20:58:53 +08:00
Gucheng Wang
9e5a64c021 Add new payment fields 2022-04-25 20:40:50 +08:00
Gucheng Wang
4263af6f2c Fix frontend warnings. 2022-04-25 20:00:57 +08:00
Gucheng Wang
3e92d761b9 Fix i18n translations. 2022-04-25 19:46:45 +08:00
Gucheng Wang
0e41568f62 Add apps to homepage. 2022-04-25 13:51:46 +08:00
Kevin Fu
fb7e2729c6
fix: support Microsoft AD user search (#704) v1.44.6 2022-04-25 12:20:59 +08:00
akkuman
28b9154d7e
fix: fix #693 token error (#695) v1.44.5 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>
v1.44.4
2022-04-22 22:45:52 +08:00
niko7g
73bd9dd517
bugfix #664 Casdoor fails to start when there is already a database (#681)
Signed-off-by: niko7g <niko7.g@gmail.com>
2022-04-22 22:17:03 +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>
v1.44.3
2022-04-22 21:59:06 +08:00
akkuman
7b78e60265
fix: close the resp in time (#689) v1.44.2 2022-04-21 23:22:50 +08:00
akkuman
7464f9a8ad
fix: when req error, read body(nil) will panic (#690) v1.44.1 2022-04-21 22:14:01 +08:00
akkuman
d3a7a062d3
fix #687 (#688)
fix the display bug on the personal binding information page
2022-04-21 21:52:34 +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>
v1.44.0
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
Dean CN
a89a7f9eb7
bug fix (#674) 2022-04-17 17:01:56 +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
v1.43.0
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>
v1.42.0
2022-04-16 15:10:03 +08:00
Yang Luo
70a1428972 Improve resource DB column length. 2022-04-16 13:23:05 +08:00
Nekotoxin
1d183decea
fix: cicd error (#671)
* fix: ci/cd error

* fix: ci/cd error

* fix: ci/cd error
v1.41.1
2022-04-16 00:09:23 +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>
v1.41.0
2022-04-15 11:49:56 +08:00
Yi Zhan
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>
v1.40.0
2022-04-14 10:22:56 +08:00
Товарищ программист
b178be9aef
feat: implement proxy (#661) 2022-04-13 14:04:40 +08:00
Товарищ программист
7236cca8cf
feat: implement CAS 3.0 (#659) v1.39.0 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>
v1.38.0
2022-04-08 23:06:48 +08:00
Yi Zhan
0b546bba5e
fix: grantTypes undefined err (#654)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.37.2
2022-04-08 21:54:48 +08:00
Nekotoxin
938cdbccf4
fix: link type error (#653)
* fix: signin button error in signup page

* fix: type error
v1.37.1
2022-04-08 20:01:30 +08:00
Yixiang Zhao
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>
v1.37.0
2022-04-06 20:38:14 +08:00
Gucheng Wang
91602d2b21 Enable extra pages. 2022-04-06 20:36:31 +08:00
Yi Zhan
86b3a078ef
fix: sign In button in the result page has broken (#646)
* fix: sign In button in the result page has broken

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

* fix: code format

Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.36.2
2022-04-05 08:49:11 +08:00
Yi Zhan
abc15b88c8
fix: change goth version (#644)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.36.1
2022-04-04 15:58:51 +08:00
Товарищ программист
3cf1b990be
feat: support CAS with organizations and applications (#621) v1.36.0 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>
v1.35.1
2022-04-03 21:32:00 +08:00
halozhy
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
v1.35.0
2022-04-02 22:37:13 +08:00
Yi Zhan
29aa379fb2
fix: qq idp missing username (#636)
* fix: qq idp missing username

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

* fix: api uses the latest fields

Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.34.1
2022-04-01 11:46:33 +08:00
Gucheng Wang
7a95b9c1d5 Init DB only when necessary. 2022-03-31 12:28:45 +08:00