handshake-simple-slashPDC JWT Token

Understanding the WHO & WHAT ..

circle-check

JWT Token

JWT Token

circle-info

Examine the PDC JWT Login token

We need to confirm that PDC can authenticate users through Keycloak and receive role information via JWT tokens.

  1. Log into Data Catalog:

Username: [email protected]

Password: Welcome123!

circle-info

Observe the redirect to: https://pdc.pentaho.lab/keycloak/realms/pdcarrow-up-right ...

PDC is configured to delegate authentication to Keycloak using OpenID Connect/OAuth 2.0 protocols. PDC trusts JWT tokens issued by Keycloak.

  1. Verify successful return to PDC with user context.


circle-info

JWT Token

JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties. The claims in a JWT are encoded as a JSON object that is used as the payload of a JSON Web Signature (JWS) structure or as the plaintext of a JSON Web Encryption (JWE) structure, enabling the claims to be digitally signed or integrity-protected with a Message Authentication Code (MAC) and/or encrypted.

  1. In a terminal enter the following command:

circle-info

This will return and output the JWT token as .access_token:

  1. Copy the access_token value in the token_response.json to: https://jwt.ioarrow-up-right to decode it.

circle-exclamation

Last updated

Was this helpful?