-
Notifications
You must be signed in to change notification settings - Fork 25
pep-proxy connection #92
Comments
I integrate succesfully pep+orion+idm using this slides: About your pep settings they appear correct to me. I'm not a docker-compose expert, are you sure that is correct the link of keyrock with orion and not with pep?
You should print the wilma received message from idm as a log to understand where is the error editing idm.js in pep-proxy, before the JSON parsing |
@zabuTNT yes, i follow those slides, as you can see in the next repository: Although not if the shipping URL is without especific a port, and my postman request are ok. i will try to follow your suggestion |
@zabuTNT got this error: I will try to install pep proxy out of the docker-compose file |
If it say Connection Refused pep and idm can't comunicate. From docker compose docs:
In fact you still did this for orion and cygnus with the commands/env:
and
You have to do the same thing in pep settings. Use the hostname, not localhost. |
@zabuTNT i did and got this: the problem persist although i think that the communication is ready... now i need to find the authzforce solution, thanks |
@RiosQ yes, it seems that now connection works. pep asks to keyrock and then to AZF. The response is a 404 from AZF as you can read in pep code: so it's not a connection issue. I never used it, but from the message it seems that you have to create a domain for the application with that id. Maybe do you forgot to create it? Or with a different id? |
Sorry for the replies @zabuTNT, But do you have an example without authzforce, in the Config. js of pepproxy when i disable it, fails: config.azf = {
enabled: true, //TESTES: reativar
host: 'authzforce', //usar o nome do container (o --link cria a entrada no hosts)
port: 8080,
path: '/authzforce/domains/',
custom_policy: undefined, // use undefined to default policy checks (HTTP verb + path).
protocol: 'http'
}; |
This is my config in pep for AZF (disable, default values)
|
@zabuTNT thanks man, for any reason, when the authzforce container was present in the docker-compose file, disable it was not an option then i only coment that part. |
welcome i'm trying to deploy the security layer in orion context broken using idm and pep-proxy but i have a problem with the pep proxy using docker compose:
I can't continue because pep proxy shows an error when i make the request to:
(without specifying a port)
using this config.js:
got this error:
ERROR: Server - Caught exception: SyntaxError: Unexpected token E
can you share an updated method about how to configure pep proxy
thanks to all for your help
The text was updated successfully, but these errors were encountered: