Validating the External JWT Tokens

Adeptia uses JWT Token to allow you to access a Web Service resource in Adeptia Connect using an API Key. If you have issued the token yourself or received it from a third party, you need to configure JWKS and use it while creating a security policy for token validation purposes. 

Creating the JWKS Configuration 

Follow the steps given below to create a JWKS Configuration:

  1. Click Configure > WEB SERVICES > JWKS Configuration.

  2. Click Create JWKS Configuration.

  3.  On the Create JWKS Configuration screen, enter the details as described in the following table

    Field NameDescription
    JWKS Configuration NameEnter a name for JWKS configuration.
    DescriptionEnter a description for JWKS configuration.
    JWKS EndpointEnter the URL containing the JWKS validation parameters as JWKs.
    Issuer

    Enter the name of the token issuer.

    This is an optional field. If you do not provide a value for this field, the validation for token issuer will succeed for any issuer.
    Audience

    Enter the name of the token receiver/consumer.

    This is an optional field. If you do not provide a value for this field, the validation for token receiver will succeed for any receiver.
    Is Token Signed?

    Select Yes if the token is signed, else, select No.

    If you select Yes, the Signing Algorithm field appears. Select the algorithm used for signing the tokens – Symmetric, or Non Symmetric.

    If you select Symmetric, enter the token signing secret in the Signing Key field.
    Is Token Encrypted?

    Select Yes if the token is encrypted, else, select No.

    If you select Yes, the Encryption Algorithm field appears. Select the algorithm used for encrypting the tokens – Symmetric, or Non Symmetric.

    If you select Symmetric,

    • Enter the token encryption secret in the Secret Key field.

    If you select Non Symmetric,

    • Enter the type of key used for encrypting the token in the Encryption Key Type field.
    • Enter the token encryption private key in the Encryption Private Key field.
    Select Project

    Select the project that you want associate with JWKS configuration.

  4. Click Save.


Related topic

Creating Security Policy for Web Services