Keycloak REST API with Postman
Автор: hexaDefence
Загружено: 2023-02-16
Просмотров: 29857
Описание:
Demonstrate how to use Keycloak's admin REST API with a postman client application.
For invoking a REST endpoint, client application should obtain an access token. After that the access token should be added to the authorization header of each REST API call as a bearer token.
OAuth 2.0 protocol is used to obtain access token.
https://www.keycloak.org/docs-api/15....
Keycloak OIDC token endpoint: http://{HOST}/realms/{REALM_NAME}/protocol/openid-connect/token
Base URL for REST API: http://{HOST}/admin/realms
(Host: localhost:8080 BasePath: /admin/realms)
Example for listing users: GET http://{HOST}/auth/admin/realms/{REALM_NAME}/users
00:05 - What is Admin REST API ?
00:51 - Steps to Follow
01:46 - Keycloak Client Configuration
03:06 - Required roles assignment
04:18 - Retrieving the access token from Postman
05:37 - Invoking a Keycloak REST Endpoint
06:41 - Troubleshooting (HTTP 401 and 403)
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: