Skip to content

Sample implementation code of spring security oauth2 keycloak technology.

License

Notifications You must be signed in to change notification settings

henry-azer/spring-security-oauth2-keycloak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-security-oauth2-keycloak

Sample implementation code of spring security oauth2 keycloak technology.

APIs:

1- http://localhost:8080/employee/all [GET]  
2- http://localhost:8080/employee/{id} [GET]  

JSON Login Credentials

{  
    "user" : "admin",  
    "password" : "admin"  
}

{  
    "user" : "user",  
    "password" : "user"  
} 

• Oauth2 Keycloak Credentials Credentials

• Generate Access Token Access-Token

• Unauthorized
Unauthorized