mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 03:47:33 +00:00
feat(api): add google provider template (#5247)
add functionality to manage templates based Google IDP
This commit is contained in:
@@ -593,12 +593,36 @@ Returns an identity provider of the instance
|
||||
GET: /idps/templates/{id}
|
||||
|
||||
|
||||
### AddGoogleProvider
|
||||
|
||||
> **rpc** AddGoogleProvider([AddGoogleProviderRequest](#addgoogleproviderrequest))
|
||||
[AddGoogleProviderResponse](#addgoogleproviderresponse)
|
||||
|
||||
Add a new Google identity provider on the instance
|
||||
|
||||
|
||||
|
||||
POST: /idps/google
|
||||
|
||||
|
||||
### UpdateGoogleProvider
|
||||
|
||||
> **rpc** UpdateGoogleProvider([UpdateGoogleProviderRequest](#updategoogleproviderrequest))
|
||||
[UpdateGoogleProviderResponse](#updategoogleproviderresponse)
|
||||
|
||||
Change an existing Google identity provider on the instance
|
||||
|
||||
|
||||
|
||||
PUT: /idps/google/{id}
|
||||
|
||||
|
||||
### AddLDAPProvider
|
||||
|
||||
> **rpc** AddLDAPProvider([AddLDAPProviderRequest](#addldapproviderrequest))
|
||||
[AddLDAPProviderResponse](#addldapproviderresponse)
|
||||
|
||||
Add a new ldap identity provider on the instance
|
||||
Add a new LDAP identity provider on the instance
|
||||
|
||||
|
||||
|
||||
@@ -610,7 +634,7 @@ Add a new ldap identity provider on the instance
|
||||
> **rpc** UpdateLDAPProvider([UpdateLDAPProviderRequest](#updateldapproviderrequest))
|
||||
[UpdateLDAPProviderResponse](#updateldapproviderresponse)
|
||||
|
||||
Change an existing ldap identity provider on the instance
|
||||
Change an existing LDAP identity provider on the instance
|
||||
|
||||
|
||||
|
||||
@@ -1849,6 +1873,33 @@ This is an empty request
|
||||
|
||||
|
||||
|
||||
### AddGoogleProviderRequest
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| name | string | Google will be used as default, if no name is provided | string.max_len: 200<br /> |
|
||||
| client_id | string | - | string.min_len: 1<br /> string.max_len: 200<br /> |
|
||||
| client_secret | string | - | string.min_len: 1<br /> string.max_len: 200<br /> |
|
||||
| scopes | repeated string | - | repeated.max_items: 20<br /> repeated.items.string.min_len: 1<br /> repeated.items.string.max_len: 100<br /> |
|
||||
| provider_options | zitadel.idp.v1.Options | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### AddGoogleProviderResponse
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| details | zitadel.v1.ObjectDetails | - | |
|
||||
| id | string | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### AddIAMMemberRequest
|
||||
|
||||
|
||||
@@ -4788,6 +4839,33 @@ this is en empty request
|
||||
|
||||
|
||||
|
||||
### UpdateGoogleProviderRequest
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| id | string | - | string.min_len: 1<br /> string.max_len: 200<br /> |
|
||||
| name | string | - | string.max_len: 200<br /> |
|
||||
| client_id | string | - | string.min_len: 1<br /> string.max_len: 200<br /> |
|
||||
| client_secret | string | client_secret will only be updated if provided | string.max_len: 200<br /> |
|
||||
| scopes | repeated string | - | repeated.max_items: 20<br /> repeated.items.string.min_len: 1<br /> repeated.items.string.max_len: 100<br /> |
|
||||
| provider_options | zitadel.idp.v1.Options | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### UpdateGoogleProviderResponse
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| details | zitadel.v1.ObjectDetails | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### UpdateIAMMemberRequest
|
||||
|
||||
|
||||
|
@@ -9,6 +9,18 @@ title: zitadel/idp.proto
|
||||
## Messages
|
||||
|
||||
|
||||
### GoogleConfig
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| client_id | string | - | |
|
||||
| scopes | repeated string | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### IDP
|
||||
|
||||
|
||||
@@ -201,6 +213,7 @@ title: zitadel/idp.proto
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| options | Options | - | |
|
||||
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) config.ldap | LDAPConfig | - | |
|
||||
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) config.google | GoogleConfig | - | |
|
||||
|
||||
|
||||
|
||||
|
@@ -3050,12 +3050,36 @@ Returns an identity provider of the organisation
|
||||
GET: /idps/templates/{id}
|
||||
|
||||
|
||||
### AddGoogleProvider
|
||||
|
||||
> **rpc** AddGoogleProvider([AddGoogleProviderRequest](#addgoogleproviderrequest))
|
||||
[AddGoogleProviderResponse](#addgoogleproviderresponse)
|
||||
|
||||
Add a new Google identity provider in the organisation
|
||||
|
||||
|
||||
|
||||
POST: /idps/google
|
||||
|
||||
|
||||
### UpdateGoogleProvider
|
||||
|
||||
> **rpc** UpdateGoogleProvider([UpdateGoogleProviderRequest](#updategoogleproviderrequest))
|
||||
[UpdateGoogleProviderResponse](#updategoogleproviderresponse)
|
||||
|
||||
Change an existing Google identity provider in the organisation
|
||||
|
||||
|
||||
|
||||
PUT: /idps/google/{id}
|
||||
|
||||
|
||||
### AddLDAPProvider
|
||||
|
||||
> **rpc** AddLDAPProvider([AddLDAPProviderRequest](#addldapproviderrequest))
|
||||
[AddLDAPProviderResponse](#addldapproviderresponse)
|
||||
|
||||
Add a new ldap identity provider in the organisation
|
||||
Add a new LDAP identity provider in the organisation
|
||||
|
||||
|
||||
|
||||
@@ -3067,7 +3091,7 @@ Add a new ldap identity provider in the organisation
|
||||
> **rpc** UpdateLDAPProvider([UpdateLDAPProviderRequest](#updateldapproviderrequest))
|
||||
[UpdateLDAPProviderResponse](#updateldapproviderresponse)
|
||||
|
||||
Change an existing ldap identity provider in the organisation
|
||||
Change an existing LDAP identity provider in the organisation
|
||||
|
||||
|
||||
|
||||
@@ -3523,6 +3547,33 @@ This is an empty request
|
||||
|
||||
|
||||
|
||||
### AddGoogleProviderRequest
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| name | string | Google will be used as default, if no name is provided | string.max_len: 200<br /> |
|
||||
| client_id | string | - | string.min_len: 1<br /> string.max_len: 200<br /> |
|
||||
| client_secret | string | - | string.min_len: 1<br /> string.max_len: 200<br /> |
|
||||
| scopes | repeated string | - | repeated.max_items: 20<br /> repeated.items.string.min_len: 1<br /> repeated.items.string.max_len: 100<br /> |
|
||||
| provider_options | zitadel.idp.v1.Options | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### AddGoogleProviderResponse
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| details | zitadel.v1.ObjectDetails | - | |
|
||||
| id | string | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### AddHumanUserRequest
|
||||
|
||||
|
||||
@@ -8860,6 +8911,33 @@ This is an empty request
|
||||
|
||||
|
||||
|
||||
### UpdateGoogleProviderRequest
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| id | string | - | string.min_len: 1<br /> string.max_len: 200<br /> |
|
||||
| name | string | - | string.max_len: 200<br /> |
|
||||
| client_id | string | - | string.min_len: 1<br /> string.max_len: 200<br /> |
|
||||
| client_secret | string | client_secret will only be updated if provided | string.max_len: 200<br /> |
|
||||
| scopes | repeated string | - | repeated.max_items: 20<br /> repeated.items.string.min_len: 1<br /> repeated.items.string.max_len: 100<br /> |
|
||||
| provider_options | zitadel.idp.v1.Options | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### UpdateGoogleProviderResponse
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| details | zitadel.v1.ObjectDetails | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### UpdateHumanEmailRequest
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user