mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-24 13:48:45 +00:00
docs: generate admin api (#1584)
* fix: generate admin api * fix: generate admin api * fix: generate admin api * fix: http option * fix: admin api * fix: md files * fix: correct headers * fix: proto definitions * fix: proto api * fix: proto api * fix: proto api * fix: proto api
This commit is contained in:
@@ -28,7 +28,7 @@ title: Identity Brokering
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
### What is Identity Brokering and Federated Identities?
|
||||
## What is Identity Brokering and Federated Identities?
|
||||
|
||||
Federated identity management is an arrangement built upon the trust between two or more domains. Users of these domains are allowed to access applications and services using the same identity.
|
||||
This identity is known as federated identity and the pattern behind this as identity federation.
|
||||
@@ -43,11 +43,11 @@ Because Google is registered as trusted identity provider the user will be able
|
||||
|
||||

|
||||
|
||||
### Exercise: Register an external identity provider
|
||||
## Exercise: Register an external identity provider
|
||||
|
||||
In this exercise we will add a new Google identity provider to federate identities with ZITADEL.
|
||||
|
||||
#### 1. Create new OIDC Client
|
||||
### 1. Create new OIDC Client
|
||||
|
||||
1. Register an OIDC Client in your preferred provider
|
||||
2. Make sure you add the ZITADEL callback redirect uris
|
||||
@@ -66,7 +66,7 @@ Google Example:
|
||||
|
||||

|
||||
|
||||
#### 2. Add custom login policy on your organisation
|
||||
### 2. Add custom login policy on your organisation
|
||||
|
||||
1. Go to your organisation settings by clicking on "Organisation" in the menu or using the following link: <https://console.zitadel.ch/org>
|
||||
2. Modify your login policy
|
||||
@@ -74,7 +74,7 @@ Google Example:
|
||||
|
||||

|
||||
|
||||
#### 3.Configure new identity provider
|
||||
### 3.Configure new identity provider
|
||||
|
||||
1. Go to the identity providers section and click new
|
||||
2. Fill out the form
|
||||
@@ -89,7 +89,7 @@ Google Example:
|
||||
|
||||
Your user will now be able to choose Google for login instead of username/password or mfa.
|
||||
|
||||
### Knowledge Check
|
||||
## Knowledge Check
|
||||
|
||||
* The issuer for your identity provider is <https://issuer.zitadel.ch>
|
||||
- [ ] yes
|
||||
@@ -112,7 +112,7 @@ Your user will now be able to choose Google for login instead of username/passwo
|
||||
|
||||
</details>
|
||||
|
||||
### Summary
|
||||
## Summary
|
||||
|
||||
* You can federate identities of all oAuth 2.0 compliant external identity providers
|
||||
* Configure the provider in your custom login policy
|
||||
|
||||
@@ -8,7 +8,7 @@ title: Recommended authorization flows
|
||||
| Learning Outcomes | In this module you will: <ul><li>Learn the basics of federated identities</li><li>Understand the basics of OAuth 2.x client profiles and their importance for authorization flows</li><li>Get a recommended flow for Web, Native, User-Agent, and API</li></ul> |
|
||||
| Prerequisites | Basic knowledge about federated identities. |
|
||||
|
||||
### Introduction
|
||||
## Introduction
|
||||
|
||||
Before we get into setting up our first application within ZITADEL, we need to go through some basics on how to obtain an authorization with OpenID Connect 1.x and OAuth 2.x.
|
||||
|
||||
@@ -18,7 +18,7 @@ We invite you to further explore the different authorization flows in the OAuth
|
||||
|
||||
So this module will only go over the basics and explain why we recommend the flow “Authorization Flow with PKCE” as default for most applications. We will also cover the case of machine-to-machine communication, ie. where there is no interactive login. Further we will guide you to further reading viable alternatives, if the default flow is not feasible.
|
||||
|
||||
### Basics of Federated Identity
|
||||
## Basics of Federated Identity
|
||||
|
||||
Although Federated Identities are not a new concept ([RFC 6749](https://tools.ietf.org/html/rfc6749), “The OAuth 2.0 Authorization Framework” was released in 2012) it is important to highlight the difference between the traditional client-server authentication model and the concept of delegated authorization and authentication.
|
||||
|
||||
@@ -46,7 +46,7 @@ This is where the so-called “flows” come into play: There are a number of di
|
||||
|
||||
Maybe interesting to mention is that we are mostly concerned with choosing the right OAuth 2.x flows (alas “authorization”). OpenID Connect extends the OAuth 2.x flow with useful features like endpoint discovery (where to ask), ID Token (who is the user, when and how did she authenticate), and UserInfo Endpoint (getting additional information about the user).
|
||||
|
||||
### Different client profiles
|
||||
## Different client profiles
|
||||
|
||||
As mentioned in the beginning of this module, there are two main determinants for choosing the optimal authorization flow:
|
||||
|
||||
@@ -86,7 +86,7 @@ The following table gives you a brief overview of different client profiles.
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
### Our recommended authorization flows
|
||||
## Our recommended authorization flows
|
||||
|
||||
We recommend using the flow **“Authorization Code with Proof Key of Code Exchange (PKCE)”** ([RFC7636](https://tools.ietf.org/html/rfc7636)) for **User-Agent**, **Native**, and **Web** clients.
|
||||
|
||||
@@ -104,7 +104,7 @@ A JWT with a private key can also be used with client profile web to further enh
|
||||
|
||||
In case you need alternative flows and their advantages and drawbacks, there will be a module to outline more methods and our recommended fallback strategy per client profile that are available in ZITADEL.
|
||||
|
||||
### Knowledge Check (3)
|
||||
## Knowledge Check (3)
|
||||
|
||||
* With federated identities the user sends credentials to the server holding the protected resource
|
||||
- [ ] yes
|
||||
@@ -133,7 +133,7 @@ In case you need alternative flows and their advantages and drawbacks, there wil
|
||||
|
||||
</details>
|
||||
|
||||
### Summary (3)
|
||||
## Summary (3)
|
||||
|
||||
* Federated Identities solve key problems and challenges with traditional server-client architecture
|
||||
* Use “Authorization Code with Proof Key of Code Exchange (PKCE)” for User-Agent, Native, and Web clients
|
||||
|
||||
Reference in New Issue
Block a user