ging / fiware-pep-proxy

Support for proxy functions within OAuth2-based authentication schemas. Also implements PEP functions within an XACML-based access control schema.
https://fiware-pep-proxy.rtfd.io/
MIT License
27 stars 46 forks source link

PEP crashes when authenticating with IoT sensor #89

Closed jmezzera closed 5 years ago

jmezzera commented 5 years ago

Hi, I'm having the following situation: I installed Keyrock IdM and Wilma PEP successfully, secured an Orion CB instance behind the proxy and authenticated with an authorized user. Everything OK.

The problem arose when I tried to set up an IoT sensor in the IdM. This is what happened:

Digging a little bit in the code, I tracked down the path it takes to verify a token:

Am I doing anything wrong here? I'm running both services with docker, PEP latest version and IdM version 7.6.

Any help would be appreciated

jmezzera commented 5 years ago

Updated the IdM to latest version and the problem persisted