Closed ghn closed 5 years ago
Can you share the CKAN configuration? Are you using Docker?
Hello, latest news: I managed to make it work. Yes I use docker for CKAN along with OAuth server.
my oauth server was accessible on localhost:8080 BUT CKAN has no clue of this url when it comes to CURL the oauth server to get the access_token.
I changed the token_endpoint
to http://oauth_server/oauth/token
and profile_api_url
to http://oauth_server/oauth/me
in the configuration .ini file.
those 2 urls are service names in my docker-compose.yml
! Not that ckan docker must be on the same network with oauth_server service.
Had a hard time figuring this out.
Hello,
i am facing almost the same problem. After i login on my oauth provider (keycloak), i am being redirected to "http://localhost:5000/" with error:
None: Max retries exceeded with url: /auth/realms/master/protocol/openid-connect/token (Caused by None)
I did not completely understand what you changed. Is it the production.ini file?
I also use Docker.
Yes I changed token_endpoint
and profile_api_url
in the production.ini.
Hi. And how did you know what values were correct? I have tried with multiple values and it is still not working for me. Should i also change something in my docker-compose.yml?
Hi,
After login on my oauth provider, The return url is unable to create the user and the following error appears.
This is my return url http://localhost:5000/oauth2/callback?code=874crw6o1zsq9viytna0usuttp9htvy2gasc8ny0&state=eyJjYW1lX2Zyb20iOiAiL2Rhc2hib2FyZCJ9
but it's directly redirected to "http://localhost:5000/" with error:
Any idea what's causing this problem?
This is the only log I could get