Code Monkey home page Code Monkey logo

Comments (5)

fdelavega avatar fdelavega commented on July 17, 2024

Can you share the CKAN configuration? Are you using Docker?

from ckanext-oauth2.

ghn avatar ghn commented on July 17, 2024

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.

from ckanext-oauth2.

sanamart avatar sanamart commented on July 17, 2024

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.

from ckanext-oauth2.

ghn avatar ghn commented on July 17, 2024

Yes I changed token_endpoint and profile_api_url in the production.ini.

from ckanext-oauth2.

sanamart avatar sanamart commented on July 17, 2024

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?

from ckanext-oauth2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.