Getting started
Prerequisites
Before you begin, ensure you have:
-
cURL or an HTTP client installed
-
Basic knowledge of REST APIs
-
Information needed for retrieving JWT token such as USERNAME, PASSWORD, CLIENT_SECRET
Get a user token
JWT token request
To communicate with backend, you will need a User JWT Token. Use the curl request below to retrieve it
curl --request POST \
--url https://auth.ai-dapt.s5projects.eu/realms/ai-dapt/protocol/openid-connect/token \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data client_id=main \
--data username=[USERNAME] \
--data 'password=[PASSWORD] \
--data grant_type=password \
--data client_secret=[CLIENT_SECRET]