Yang Luo
22b57fdd23
Add application.EnableSamlC14n10
2023-10-20 22:37:23 +08:00
Yang Luo
a616127909
Add organization.DefaultPassword
2023-10-18 11:58:25 +08:00
songjf
53243a30f3
feat: support tencent cloud SAML SSO authentication with casdoor ( #2409 )
...
* feat: Support Tencent Cloud SAML SSO authentication with Casdoor
* feat: support SamlAttributeTable in the frontend
* fix:fixed the error where frontend fields did not match the database fields
* fix:fix lint error
* fix:fixed non-standard naming
* fix:remove if conditional statement
* feat:Add Saml Attribute format select
* fix:fix typo
* fix:fix typo
* fix:fix typo
* Update SamlAttributeTable.js
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-10-17 15:40:41 +08:00
Yang Luo
f3d4b45a0f
Add label and placeholder to app's signup table
2023-10-15 17:24:38 +08:00
Yang Luo
620383cf33
Allow CORS for https://localhost
2023-09-30 09:11:47 +08:00
Yang Luo
1461268a51
Allow redirect URL for casdoor-app
2023-09-27 22:37:57 +08:00
Yang Luo
5c89705d9e
feat: allow CORS for 127.0.0.1
2023-09-27 14:10:59 +08:00
Yang Luo
e528e8883b
Add "localhost" to IsRedirectUriValid()
2023-09-06 21:14:58 +08:00
Yang Luo
3078409343
Add CertPublicKey to Application
2023-09-01 21:16:51 +08:00
Yaodong Yu
f5e0461cae
feat: add invitation code for signup feature ( #2249 )
...
* feat: add invitation code for signup feature
* feat: add invitation code for signup feature
2023-08-24 13:42:17 +08:00
Yaodong Yu
ea10f8e615
feat: make hard-coded authz adapter editable, rename adapter to ormer ( #2149 )
...
* refactor: rename casbinAdapter to casdoorAdapter
* feat: add initEnforcer
* fix: router
* refactor: make hard-coded code configurable
* fix: data type
* feat: support sqlite3
* feat: disable delete and edit name for built in resources
* feat: optimize code
* fix: init
* fix: e2e
* fix: remove datasourcename
* fix: revert rename
* refactor: change all ORM's Adatper to Ormer
* refactor: name
2023-07-29 15:07:04 +08:00
June
6a952952a8
fix: unmask application for org admin ( #2138 )
...
* feat: unmask application with user admin
* Update application.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-07-26 17:17:49 +08:00
haiwu
807aea5ec7
feat: add tags to application ( #2027 )
...
* feat: add tags to application
* fix: fix for merge master
* feat: update i18n(backend&frontend) for application tags
2023-06-30 00:04:12 +08:00
Yang Luo
e0d2bc3dc9
Return error in GetProviderFromContext()
2023-06-10 15:51:26 +08:00
yehong
02e692a300
feat: return most backend API errors to frontend ( #1836 )
...
* feat: return most backend API errros to frontend
Signed-off-by: yehong <239859435@qq.com>
* refactor: reduce int type change
Signed-off-by: yehong <239859435@qq.com>
* feat: return err backend in token.go
Signed-off-by: yehong <239859435@qq.com>
---------
Signed-off-by: yehong <239859435@qq.com>
2023-05-30 15:49:39 +08:00
Yaodong Yu
8ede4993af
feat: specify login organization
2023-05-27 19:02:54 +08:00
Yang Luo
95ab2472ce
Make logo length to 200
2023-05-23 21:57:35 +08:00
guangwu
54e4747dbc
refactor: code-optimization ( #1885 )
...
* refactor: code-optimization
* fix: restoring code style
* fix: gofmt
2023-05-23 17:54:51 +08:00
Yang Luo
de73ff0e60
Add IsMaskedEnabled to provider API
2023-05-19 13:09:53 +08:00
Yang Luo
0b5ecca5c8
Support empty application in page
2023-05-16 22:17:39 +08:00
Yang Luo
c33d537ac1
Add formCssMobile to application
2023-05-12 12:16:03 +08:00
XDTD
cb542ae46a
feat: fix org admin permissions ( #1822 )
2023-05-09 00:06:52 +08:00
Zayn Xie
9256791420
feat: app session control and db migrate ( #1539 )
...
* feat: integrate application session management into Casdoor's session management (#774 ) && standardized the database migration process (#1533 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 ) && standardized the database migration process
* feat: integrate application session management into Casdoor's session management (#774 ) && standardized the database migration process
* feat: integrate application session management into Casdoor's session management (#774 ) && standardized the database migration process
---------
Co-authored-by: Zayn Xie <84443886+xiaoniuren99@users.noreply.github.com>
* fix: migrate err
* fix: migrate err
* feat: app session control and db migrate
* feat: app session control and db migrate
* feat: app session control and db migrate
---------
Co-authored-by: Zayn Xie <84443886+xiaoniuren99@users.noreply.github.com>
2023-02-12 09:33:24 +08:00
Yaodong Yu
95b32d5ebf
feat: support customize theme ( #1500 )
...
* refactor: simplify functions and improve variable naming
* feat: add themeEditor component
* feat: support customize theme
* chore: resolve conflict and add LICENCE
* chore: format code
* refactor: use icon replace background url
* feat: improve organization and application theme editor
2023-02-01 22:06:40 +08:00
buptxxb65
0021226a60
fix: check the duplicated Application ClientId ( #1481 )
...
* fix: Check the duplicate ClientId and ClientSecret of Application.
* Bug fix
2023-01-17 17:37:20 +08:00
Yaodong Yu
7d25b9cdd8
feat: auto link accounts with the same email ( #1464 )
2023-01-11 23:19:16 +08:00
Gucheng Wang
f075d0fd74
Refactor out application.IsRedirectUriValid()
2022-12-21 00:35:33 +08:00
Yaodong Yu
e227875c2b
feat: add post methed for saml response ( #1399 )
2022-12-13 22:32:45 +08:00
Yaodong Yu
7e756b8ee2
feat: manager applications in organization scope ( #1290 )
...
* feat: manager applications in organization scope(front end)
* fix: application can use own organization and admin provider
* fix: improve methed to get provider
* fix: modify provider methods by convention
2022-11-21 01:17:55 +08:00
Mr Forest
aa6a4dc74f
feat: support login by following wechat official account ( #1284 )
...
* show QRcode when click WeChat Icon
* update how to show qrcode
* handle wechat scan qrcode
* fix api problems
* fix url problems
* fix problems
* modify get frequency
* remove useless print
* fix:fix PR problems
* fix: fix PR problems
* fix:fix PR problem
* fix IMG load delay problems
* fix:fix provider problems
* fix test problems
* use gofumpt to fmt code
* fix:delete useless variables
* feat:add button for follow official account
* fix:fix review problems
* use gofumpt to fmt code
* fix:fix scantype problems
* fix Response problem
* use gofumpt to format code
2022-11-13 15:05:15 +08:00
Mr Forest
a8381e875b
feat: change all occurrences when a object name is changed ( #1252 )
2022-11-02 00:17:38 +08:00
Yaodong Yu
b0f572c51a
feat: add left-side image and improve login page ( #1226 )
2022-10-22 21:43:41 +08:00
Gucheng Wang
7393b90155
Add enableAutoSignin to application
2022-09-27 20:06:46 +08:00
Gucheng Wang
c661a57cb2
Support regex in CheckRedirectUriValid()
2022-09-10 13:12:36 +08:00
leoshine
1edb91b3a3
feat: custom login form and background ( #1107 )
...
* feat: custom login form and background
Signed-off-by: magicwind <2814461814@qq.com>
* feat: costom login form border
* chore: update i18
* Update ApplicationEditPage.js
* Update LoginPage.js
* Update SignupPage.js
* Update LoginPage.js
* Update ApplicationEditPage.js
Signed-off-by: magicwind <2814461814@qq.com>
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
2022-09-10 00:56:37 +08:00
Resulte Lee
8da50b7893
feat: extend managed accounts for get-account api ( #1068 )
...
* feat: add get-extend-account api
* feat: extend managed accounts for get-account api
* fix go-linter err
* Use GetApplicationsByOrganizationName
2022-08-30 00:57:27 +08:00
q1anx1
2ea58cd639
chore(style): use gofumpt
to fmt go code ( #967 )
2022-08-07 12:26:14 +08:00
Товарищ программист
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
Bingchang Chen
61773d3173
fix: support user-defined clientId&Secret ( #862 )
2022-07-06 19:27:59 +08:00
Yixiang Zhao
8a66448365
feat: support casdoor as saml idp to connect keycloak ( #832 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-06-28 22:05:02 +08:00
aecra
7c9370ef90
feat: add CORS filter to fix OPTION request failure ( #826 )
2022-06-26 01:28:33 +08:00
Gucheng Wang
ee42fcac8e
Remove signup_item.go
2022-06-16 20:52:54 +08:00
greenhandatsjtu
8efd964835
fix: unchanged masked client_secret/password updated to ***
( #749 )
2022-05-10 17:37:12 +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
Товарищ программист
5f8924ed4e
feat: support overriding configuration with env ( #590 )
2022-03-20 23:21:09 +08:00
Yixiang Zhao
83a6b757a4
fix: password leakage vulnerability caused by pagination ( #527 )
...
* fix: password leakage vulnerability caused by pagination
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: unsafe get-app-login response fields
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-03-02 20:58:16 +08:00
Steve0x2a
2a0dcd746f
feat: add token logout endpoint ( #526 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-03-02 20:37:31 +08:00
Steve0x2a
2c97f8a8b7
feat: add two authentication flow types ( #512 )
...
* feat: add two authentication flow types
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: delete implicit method
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: use a more appropriate name
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: apply suggestion
Signed-off-by: Steve0x2a <stevesough@gmail.com>
* fix: remove redundant code
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-02-27 14:05:07 +08:00
Gucheng Wang
db37f53d6c
Update license headers.
2022-02-13 23:39:27 +08:00
Yixiang Zhao
5ec0c7a890
fix: fix the SQL injection vulnerability in field filter ( #442 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-01-26 19:36:36 +08:00