Git Product home page Git Product logo

Comments (4)

xaviershay avatar xaviershay commented on August 20, 2024

Not sure the exact issue. When it doesn't work, what does it look like?

One thing you can't do on heroku with one dyno is use your own domain for the delegation, what happens is the login controller issues a request to the site as part of the auth process, but this gets blocked behind the current authing request and everything times out.

from enki.

anklos avatar anklos commented on August 20, 2024

I also deployed this to a heroku app and point to a custom domain, it works well.
You can try to use your heroku app url instead of your custom domain url for the url option in the enki.yml, see whether it would work for you

from enki.

brianewing avatar brianewing commented on August 20, 2024

Sorry for the delay.

@xaviershay: I ran into that when I started using Enki - I figured it out and started using Unicorn, still with one dyno, so it can serve more than one request at a time. Works nicely :)

I've figured out what's happening, but haven't yet debugged where. My OpenID (http://brianewing.me) delegates to http://Brian-Ewing.myopenid.com. To login, I have to use exactly http://Brian-Ewing.myopenid.com/ in the box at /admin.

It's case-sensitive, and must have that trailing slash. It must be checking using plain string comparison at some point.
I'll have a look around using the debugger and see if I can find this

from enki.

xaviershay avatar xaviershay commented on August 20, 2024

If you're using delegation, you should be logging in with "http://brianewing.me", not the delegated URL.

I tried every combination I could think of of delegation with and without trailing slash and couldn't replicate. Closing, reopen if you have any other leads.

from enki.

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.