mirror of
https://github.com/zitadel/zitadel.git
synced 2025-03-01 00:27:24 +00:00
docs: fix get started guide (#5141)
* docs: fix file ending * docs: skip optional steps
This commit is contained in:
parent
e2fdd3f077
commit
5ca7e83f0a
@ -133,7 +133,9 @@ As a user of the ZITADEL Cloud Customer Portal, you now have the ability to crea
|
||||
|
||||

|
||||
|
||||
### 4. Add Users
|
||||
### 4. Add Users (optional)
|
||||
|
||||
[Skip optional steps](quickstart/#7-create-an-application-in-your-project) and jump directly to the create application step.
|
||||
|
||||
1. To add users, click on “Users” at the top menu. You will see that the user you already created is listed as a user here. Click on the “New” button to create a new user.
|
||||
|
||||
@ -151,35 +153,35 @@ As a user of the ZITADEL Cloud Customer Portal, you now have the ability to crea
|
||||
|
||||

|
||||
|
||||
### 5. Add Roles to your Project
|
||||
### 5. Add Roles to your Project (optional)
|
||||
|
||||
1. To add roles to your project, click on “Roles” on the left as shown below. Next, click on the “New” button.
|
||||
1. To add roles to your project, click on “Roles” on the left as shown below. Next, click on the “New” button.
|
||||
|
||||

|
||||
|
||||
2. Let’s create the role “manager” as shown below. Add “Manager” and “Group1” as display name and group respectively.
|
||||
2. Let’s create the role “manager” as shown below. Add “Manager” and “Group1” as display name and group respectively.
|
||||
|
||||

|
||||
|
||||
3. You can also add other roles in this step by clicking on “Add additional role”. Let’s go ahead and add two more as shown below. Click “Save” when you are done.
|
||||
3. You can also add other roles in this step by clicking on “Add additional role”. Let’s go ahead and add two more as shown below. Click “Save” when you are done.
|
||||
|
||||

|
||||
|
||||
4. Now you can view a list of all the roles you just created.
|
||||
4. Now you can view a list of all the roles you just created.
|
||||
|
||||

|
||||
|
||||
### 6. Add Authorizations to your Project
|
||||
|
||||
1. Click on “Authorizations” on the top menu.
|
||||
1. Click on “Authorizations” on the top menu.
|
||||
|
||||

|
||||
|
||||
2. Select users for the authorization. You can select 1 or more users for a single authorization grant. Let’s select all the users for this grant.
|
||||
2. Select users for the authorization. You can select 1 or more users for a single authorization grant. Let’s select all the users for this grant.
|
||||
|
||||

|
||||
|
||||
3. Next, select a project. Since we created only “Project1” so far, you will see just that. Go ahead and select it.
|
||||
3. Next, select a project. Since we created only “Project1” so far, you will see just that. Go ahead and select it.
|
||||
|
||||

|
||||
|
||||
@ -187,15 +189,15 @@ As a user of the ZITADEL Cloud Customer Portal, you now have the ability to crea
|
||||
|
||||

|
||||
|
||||
5. Now you will see the users with their designated roles.
|
||||
5. Now you will see the users with their designated roles.
|
||||
|
||||

|
||||
|
||||
6. To assign additional roles to a user, you can click on the user's name and select the desired roles from the list. This will grant the user additional permissions within the project. Click on “Change”.
|
||||
6. To assign additional roles to a user, you can click on the user's name and select the desired roles from the list. This will grant the user additional permissions within the project. Click on “Change”.
|
||||
|
||||

|
||||
|
||||
7. You can see that additional roles have been assigned to the users in this updated authorization list and this should now give you an indication of how authorizations work in ZITADEL.
|
||||
7. You can see that additional roles have been assigned to the users in this updated authorization list and this should now give you an indication of how authorizations work in ZITADEL.
|
||||
|
||||

|
||||
|
||||
@ -577,9 +579,9 @@ In the PKCE flow, the code verifier is a random string generated by the client a
|
||||
```
|
||||
|
||||
|
||||
7. Go to index.js and replace ```import './index.css';``` with ```import './style.css'```. Your index.css file should look like this:
|
||||
7. Go to index.js and replace ```import './index.css';``` with ```import './style.css'```. Your index.js file should look like this:
|
||||
|
||||
[src/index.css](https://github.com/zitadel/react-user-authentication/blob/main/src/index.js)
|
||||
[src/index.js](https://github.com/zitadel/react-user-authentication/blob/main/src/index.js)
|
||||
|
||||
```
|
||||
import React from 'react';
|
||||
|
Loading…
x
Reference in New Issue
Block a user