NextGen APIs

[WIP] OAuth 2.0 Authentication

This page is a DRAFT

  1. Download the W3-2024 Postman collection to get the full list of available calls on IntegrationAPI project.

  2. Use OAuth 2.0 authentication:

    1. Click on collection's title

    2. Click on `Authorization`

    3. Scroll the lateral bar inside the page till the end and click on `Get New Access Token`

    4. Insert your credentials

    5. Click on `Use Token`

    6. You will be now able to perform calls

  3. If something goes wrong with the Authentication a 401-Unauthorized error occurs.


💡

It is possible to enable/disable OAuth 2.0 authentication: disabling OAuth 2.0 you will have to use Bearer token authentication, as reported in the page https://overit-spa.atlassian.net/wiki/x/eoEIQxg

The following is the OAuth2.0 property that can be configured (in application.yml) to enable/disable double token authentication:

 overit:
  config:
    oauth2:
      enabled-auto-configuration: true #Enable or disable double token authentication with oauth2