By: Nils ElHimoud user 17 Nov 2020 at 3:04 a.m. CST

2 Responses
Nils ElHimoud gravatar
Expected behavior: OXD Server being accesible I am using the docker setup and I understand that oxd server should simplify the usage, so I try to run it. I've added settings.py with SVC_OXD_SERVER = True and run pygluu-compose.pyz up oxd server is running, but I can't find a way to access it. In the nginx conf I can't find any trace of oxd server. I try to connect with the oxd spring sample and I get Can not register site: {callbackUrl: 'https://localhost:8081/gluu/callback', postLogoutUrl: 'https://localhost:8081/gluu/logout'}. Caused by: javax.ws.rs.NotFoundException: HTTP 404 Not Found settings of spring example ``` oxd.server.op-host=https://demoexample.gluu.org/oxauth oxd.server.host=demoexample.gluu.org oxd.server.port=443 ``` nginx log > oxd.server.op-host=https://demoexample.gluu.org/oxauth oxd.server.host=demoexample.gluu.org oxd.server.port=443 I've added demoexample.gluu.org to the /etc/hosts and can access the Gluu server https://demoexample.gluu.org/identity/home.htm Am I missing something? Should there be a route in the nginx conf for oxd server?

By Nils ElHimoud user 17 Nov 2020 at 3:16 a.m. CST

Nils ElHimoud gravatar
$ docker version Client: Version: 17.05.0-ce API version: 1.29 Go version: go1.7.5 Git commit: 89658be Built: Fri May 5 15:36:11 2017 OS/Arch: linux/amd64 Server: Version: 19.03.8 API version: 1.40 (minimum version 1.12) Go version: go1.12.17 Git commit: afacb8b7f0 Built: Wed Mar 11 01:24:19 2020 OS/Arch: linux/amd64 Experimental: false

By Mohammad Abudayyeh staff 17 Nov 2020 at 5:25 a.m. CST

Mohammad Abudayyeh gravatar
Hey Nils, you can only access oxd from inside the containers . either from inside the oxd container itself or other containers. inside the oxd container itself you would be able to hit it at localhost:8080. We do not expose oxd endpoints upon setup. use the `docker exec -ti` command.