The `<http://example-idp.localhost/login>` is tryi...
# talk-hydra
w
The
<http://example-idp.localhost/login>
is trying to connect to
<http://localhost:4445/admin/oauth2/auth/requests/login>
instead of
<http://hydra-example-admin:4445/admin/oauth2/auth/requests/login>
Please provide input if anyone of you encountered similar issue
m
Have you searched the slack archive and github discussion? there are many similar issues there that could help you https://archive.ory.sh/ https://github.com/discussions?discussions_q=org%3Aory Please dont repost across channels, generally people see it if you post in one channel. Also I recommend to use the #self-hosted channel for Kubernetes / Helm related issues, Thanks
w
@magnificent-energy-493 - Yes searched in all the links provided. However, still unable to resolve it. Also, the steps doesn’t work as per the documentation. Since there were not response in few days, posted in different channels. Sure, next time only in one channel. Can you point to a documentation on installation on K8S cluster? I have followed the below docs https://www.ory.sh/docs/hydra/self-hosted/kubernetes-helm-chart
Essentially, wanted to know what hostname need to be provided for the below commands considering the Url is
<http://xyz.com|xyz.com>
Copy code
helm install \
    --set 'hydra.config.secrets.system={$(LC_ALL=C tr -dc 'A-Za-z0-9' < /dev/urandom | base64 | head -c 32)}' \
    --set 'hydra.config.dsn=memory' \
    --set 'hydra.config.urls.self.issuer=<http://public.hydra.localhost/>' \
    --set 'hydra.config.urls.login=<http://example-idp.localhost/login>' \
    --set 'hydra.config.urls.consent=<http://example-idp.localhost/consent>' \
    --set 'hydra.config.urls.logout=<http://example-idp.localhost/logout>' \
    --set 'ingress.public.enabled=true' \
    --set 'ingress.admin.enabled=true' \
    --set 'hydra.dangerousForceHttp=true' \
    --set 'hydra.dev=true' \
    hydra-example \
    ory/hydra
Copy code
helm install \
    --set 'hydraAdminUrl=<http://hydra-example-admin:4445/>' \
    --set 'hydraPublicUrl=<http://public.hydra.localhost/>' \
    --set 'ingress.enabled=true' \
    hydra-example-idp \
    ory/example-idp
And once they are completed, what should be the config in OIDC config? The current one looks like the below config:
Copy code
"openid-connect":{
            "client_id":"79d337dd-7164-4851-b36e-b6d41166b60e",
            "client_secret":"secret",
            "discovery":"<http://public.hydra.localhost/.well-known/openid-configuration>",
            "scope":"openid",
            "bearer_only":false,
            "redirect_uri":"<http://127.0.0.1:4446/callback>"
}
m
Dont worry about it, We try to answer everything within 24h but currently is also holidays so sometimes responses can take a bit longer for community support.
Also, the steps doesn’t work as per the documentation.
Which steps are you referring to here and which documentation? There are some examples how to use the k8s further down in the doc https://www.ory.sh/docs/hydra/self-hosted/kubernetes-helm-chart#examples Also see the community examples: https://github.com/ory/examples
w
The Helm link above is not working/ rather mismatch with the implementation.