Token authentication happens using the following scheme:
Send POST request to the following address:https://account.bog.ge/auth/realms/bog/protocol/openid-connect/token with these parameters in request body and application/x-www-form-urlencoded Content-Type:
grant_type- "client_credentials"client_id- your application client_idclient_secret- your application client_secret
You must make the request with Basic BasicAuthorizationHeader Header and use your application client_id as a username and use your application client secret as a password.
After this you will be able to call the api using the access_token you got. For this you will need to add AuthorizationHeader Header like this:
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6ImEzck1VZ01Gdjl0UGNsTGE2eUYzekFrZnF1RSJ9.eyJpc..........