Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DTPDEVEL and version 2022.1

CAC/PIV card users can open a browser to to License Server  and and authenticate automatically via JWT Access Token for OAuth 2.0. To  To set this up, follow the directions below.

...

Configuring Usernames


When enabled,  License License Server  uses uses mappings defined in oidc.json to extract usernames from JWT access tokens. Open the Open the oidc.json file located in the <DTP_DATA_DIR>/conf directory to configure usernames. 

...

The default value for the claimMappings > username attribute is preferred_username.  Change this value if the username in the JWT access token is mapped to a different element name. The other attributes in this file are ignored when authentication via JWT access token is enabled, so you do not need to set them.


Save  your your changes and restart restart License Server services Server services after configuring the file.

Using APIs in JWT Token Mode


To access access License Server  or or Enterprise Pack APIs when when License Server  is is in JWT token mode, pass an access token to the API endpoint in the request header using the Authorization property. The  The token is passed using the following format:

...