Guide to FC4E CAT
Access Token Retrieval
The API's endpoints must only be obtainable to verified clients, so every client who wants access to the API resources should be authenticated. To achieve this , the client must retrieve an Access Token , following the guidelines above.
Instructions
This web page allows users to obtain an access token for authentication purposes. By following these instructions, users can retrieve an access token to authenticate API requests.
1. Open the Web Page
Open your preferred web browser and navigate to the URL of the web page where the access token can be obtained.
2. Locate the Access Token Button
Once the web page loads, locate the button that triggers the access token retrieval process. The button should be visible on the web page.
3. Click the Obtain an Access Token button
Click the access token button to initiate the process of retrieving an access token. This will trigger the necessary steps to obtain the token from the authentication server.
4. Provide Required Information
Choose your preferred identity provider from the available options. After selecting the identity provider, enter your credentials.
5. Retrieve the Access Token
After providing the necessary information, the web page will communicate with the authentication server to retrieve the access token. This process may take a few moments. Once the retrieval is successful, the access token will be displayed on the web page.
Once the token is retrieved the client can access the FC4E CAT endpoints, either by applying HTTP requests to the FC4E CAT API directly or through the FC4E CAT Swagger
Also the client can interact with the FC4E CAT endpoints through a graphical interface, the FC4E CAT User Interface
- API
- Swagger
- User Interface
Access the protected resources
The communication with protected API endpoints is performed using the Bearer Authentication. Bearer Authentication is a type of token-based authentication commonly used in HTTP-based APIs.
Once the client receives the access token, they should construct their HTTP request to access the protected API endpoint. They should include the access token in the HTTP request by adding an "Authorization" header to the HTTP request. The header's value starts with the word "Bearer" followed by a space and the actual access token.
Authorization: Bearer {{token}}
You also can access the API's endpoints from the FC4E CAT Swagger, through the following steps:
1. First you need to obtain an Access Token, by following the guidelines present above.
2. Access swagger here
3. Click on the Authorization Button and add the access token ,
4. You can now access the HTTP requests
You can access FC4E CAT User Interface here