Skip to content

Commit 33d8f6f

Browse files
Initial commit
1 parent 1cf2903 commit 33d8f6f

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

gateway/keycloak.md

+34-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,34 @@
1-
Key
1+
# Keycloak configuration
2+
3+
## Step 1 Create Realm
4+
5+
Login with admin credentials and create realm
6+
7+
![Create Realm](https://github.com/kuldeepsingh99/spring-cloud-gateway/blob/main/img/key1.PNG)
8+
9+
## Step 2 Create Client
10+
11+
Create Client
12+
![Create Client](https://github.com/kuldeepsingh99/spring-cloud-gateway/blob/main/img/key2.PNG)
13+
14+
Select Access Type as Confidential
15+
![Create Client](https://github.com/kuldeepsingh99/spring-cloud-gateway/blob/main/img/key3.PNG)
16+
17+
Note down the client secret
18+
![Create Client](https://github.com/kuldeepsingh99/spring-cloud-gateway/blob/main/img/key4.PNG)
19+
20+
21+
## Step 3 Create Roles
22+
23+
Create roles under client
24+
![Create Client](https://github.com/kuldeepsingh99/spring-cloud-gateway/blob/main/img/key5.PNG)
25+
26+
## Step 4 Add User
27+
28+
Add Users
29+
![Create Client](https://github.com/kuldeepsingh99/spring-cloud-gateway/blob/main/img/key6.PNG)
30+
![Create Client](https://github.com/kuldeepsingh99/spring-cloud-gateway/blob/main/img/key7.PNG)
31+
32+
## Step 5 Map Roles to user
33+
34+
![Create Client](https://github.com/kuldeepsingh99/spring-cloud-gateway/blob/main/img/key8.PNG)

0 commit comments

Comments
 (0)