mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-16 06:48:35 +00:00
feat: enable iframe use (#4766)
* feat: enable iframe use * cleanup * fix mocks * fix linting * docs: add iframe usage to solution scenarios configurations * improve api * feat(console): security policy * description * remove unnecessary line * disable input button and urls when not enabled * add image to docs Co-authored-by: Max Peintner <max@caos.ch> Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
This commit is contained in:
@@ -332,6 +332,30 @@ Get log notification provider
|
||||
GET: /notification/provider/log
|
||||
|
||||
|
||||
### GetSecurityPolicy
|
||||
|
||||
> **rpc** GetSecurityPolicy([GetSecurityPolicyRequest](#getsecuritypolicyrequest))
|
||||
[GetSecurityPolicyResponse](#getsecuritypolicyresponse)
|
||||
|
||||
Get the security policy
|
||||
|
||||
|
||||
|
||||
GET: /policies/security
|
||||
|
||||
|
||||
### SetSecurityPolicy
|
||||
|
||||
> **rpc** SetSecurityPolicy([SetSecurityPolicyRequest](#setsecuritypolicyrequest))
|
||||
[SetSecurityPolicyResponse](#setsecuritypolicyresponse)
|
||||
|
||||
set the security policy
|
||||
|
||||
|
||||
|
||||
PUT: /policies/security
|
||||
|
||||
|
||||
### GetOrgByID
|
||||
|
||||
> **rpc** GetOrgByID([GetOrgByIDRequest](#getorgbyidrequest))
|
||||
@@ -2739,6 +2763,23 @@ This is an empty request
|
||||
|
||||
|
||||
|
||||
### GetSecurityPolicyRequest
|
||||
This is an empty request
|
||||
|
||||
|
||||
|
||||
|
||||
### GetSecurityPolicyResponse
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| policy | zitadel.settings.v1.SecurityPolicy | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### GetSupportedLanguagesRequest
|
||||
This is an empty request
|
||||
|
||||
@@ -4025,6 +4066,29 @@ this is en empty request
|
||||
|
||||
|
||||
|
||||
### SetSecurityPolicyRequest
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| enable_iframe_embedding | bool | states if iframe embedding is enabled or disabled | |
|
||||
| allowed_origins | repeated string | origins allowed to load ZITADEL in an iframe if enable_iframe_embedding is true | |
|
||||
|
||||
|
||||
|
||||
|
||||
### SetSecurityPolicyResponse
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| details | zitadel.v1.ObjectDetails | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### SetUpOrgRequest
|
||||
|
||||
|
||||
|
@@ -106,6 +106,19 @@ title: zitadel/settings.proto
|
||||
|
||||
|
||||
|
||||
### SecurityPolicy
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| details | zitadel.v1.ObjectDetails | - | |
|
||||
| enable_iframe_embedding | bool | states if iframe embedding is enabled or disabled | |
|
||||
| allowed_origins | repeated string | origins allowed to load ZITADEL in an iframe if enable_iframe_embedding is true | |
|
||||
|
||||
|
||||
|
||||
|
||||
### TwilioConfig
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user