Try OpenEdge Now
skip to main content
New Information
Progress Application Server for OpenEdge : Authentication with OAuth2 and JWT : Configuring a PASOE Web Application as an OAuth2 Resource Server : Configuring JWT Payload Field Validation
 
Configuring JWT Payload Field Validation
This section outlines the properties used to validate a JWT Self-contained Access Token's payload fields.

Validating the Resource Owner's ID claim

A JWT has a recommended field name (sub) to hold the authenticated user's ID, but may be configured differently by the issuing Authorization Server. Refer to the JWT issuer's documentation for which field name contains the authenticated user's ID:
jwtToken.usernameField=sub

Configuring the Resource Server's ID

Each OAuth2 Resource Server has a well-known ID that it registers with the Authorization Server and is used to filter out the JWT tokens issued for other Resource Servers. The Authorization Server will insert a payload audience (aud) claim, which will be verified by the PAS for OpenEdge JWT validation process.
To configure the OAuth2 Resource Server ID, change the default oeablapp value for the one registered with the Authorization Server:
oauth2.resSvc.audience=oeableapp