반응형

1. http://localhost:8080/admin/master/console/#/oauth2/client-scopes
-> Create client scope  

 

 

2. http://localhost:8080/admin/master/console/#/oauth2/clients/8699a207-e5f6-4636-b8e7-dfccf16d824c/clientScopes
-> Add client scope
위에 생성한 openid  default 로 연결

3. http://localhost:8080/realms/oauth2/protocol/openid-connect/auth?response_type=code&client_id=oauth2-client-app&scope=profile email&redirect_uri=http://localhost:8081

code 생성부터 새롭게 진행하면 userInfo 결과 성공적으로 나옴

반응형

+ Recent posts