Hi I am having issues integrating Datahub with my ...
# troubleshoot
g
Hi I am having issues integrating Datahub with my company's Okta deployment. I am currently getting this error when I try to hit the homepage.
Copy code
Identity Provider: Unknown
Error Code: invalid_request
Description: The 'redirect_uri' parameter must be a Login redirect URI in the client app settings: <https://admin.settings/example>
Not sure how to troubleshoot this... My IT department says they don't see any Okta requests from Datahub. No logs of my request are appearing in
docker logs -f datahub-frontend-react
either... Config in thread below:
Okta Side: redirect uri: http://172.my.ec2.ip/callback/odic datahub-frontend/env/docker.env
Copy code
AUTH_OIDC_ENABLED=true
AUTH_OIDC_CLIENT_ID=<id>
AUTH_OIDC_CLIENT_SECRET=<secret>
AUTH_OIDC_DISCOVERY_URI=<https://domain/.well-known/openid-configuration>
AUTH_OIDC_BASE_URL=<http://localhost:9002/>
All other parts of the
docker.env
are as they come from the repo
l
@big-carpet-38439 ^
b
Have you registered localhost:9002/callback/oidc in your Okta account as the client callback URL?
@gentle-father-80172
g
Not localhost but the ip of my EC2 instance.
I put localhost in my docker.env but even if I change it to to the ip address its the same result/error
b
try removing the "/" as the base URL
and using the ip address in the docker.env
Whatever the BASE_URL is must match exactly what is in okta.
🙌 1
g
Thank you! That was it
Lol I could've sworn I've tried this but oh well 🤷‍♂️
b
Awesome!
m
try removing the "/" as the base URL
we ran into the same issue and this fixed it