[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: GetClientPrincipal return unkown value for REST

  • Thread starter Thread starter wvdgraaf
  • Start date Start date
Status
Not open for further replies.
W

wvdgraaf

Guest
It's a little different now. At the first call to the REST service I get a valid handle and can read all properties from the token. With every subsequent call, the handle assigned with hCP = session:current-request-info:GetClientPrincipal(). is unknown. Only after restarting the PASOE I get a one-time correct result. So it seems that somehow the client-principal is lost. For every call to my rest server I send the same Bearer token. Maybe there is a "global" variable somehwere that still contains the correct handle? Here's the contents of my oeablsecurity.properties file. ## login model client.login.model=oauth2 ## The clear-text key value is 'JWTkey'. The encrypted value is generated using 'genpassword' OEClientPrincipalFilter.domain=flusso.nl OEClientPrincipalFilter.registryFile=oauth2reg.bin ##OEClientPrincipalFilter.key=oech1::1a051b0c373c ## JWT token handler properties for jwtAuthFilter & oauth2.resSvc.. jwtToken.signatureAlg=RS256 jwtToken.keystore.type=pem jwtToken.keystore.path=${catalina.base}/conf/jwtkeys jwtToken.keystore.alias=publiccert ## OAuth2 Resource server configuration #oauth2.resSvc.audience=WAPPartnerID001 oauth2.resSvc.audience=itkracht oauth2.resSvc.tokenServices=oauth2 ## Debugging OESSO.error.detail=2

Continue reading...
 
Status
Not open for further replies.
Back
Top