RestApis_with_keycloakAuthorisation

Works with Keycloak version: 12.0.4

Setup Keycloak:

  1. Create a new realm and create a new client in it.
  2. Create few users and roles and assign the users some roles from the role mapping section.
  3. Click on Open ID Endpoint configuration in the realm settings and copy the token endpoint.
  4. Paste the url in PostMan or any API platform and test your apis.