Giter VIP home page Giter VIP logo

Comments (7)

ozten avatar ozten commented on June 18, 2024

I'm unable to repro via Private Browsing (Aurora) or normal browsing after clearing cookies/etc. Tested on Chrome 18 also.

Does this repro consistently several times?

I'll play with server config, etc to try to repro.

from persona-yahoo-bridge.

callahad avatar callahad commented on June 18, 2024

I was able to repro twice on Nightly, with separate private browsing sessions each time. Will try again tomorrow to see if I can narrow it down to Nightly / Aurora / something else.

from persona-yahoo-bridge.

ozten avatar ozten commented on June 18, 2024

stomlinson hit this when mozilla/browserid was configured to talk to an IP address instead of a hostname for BigTent

http://pastebin.mozilla.org/1638821

Could this have been the source of this bug too?

from persona-yahoo-bridge.

ozten avatar ozten commented on June 18, 2024

Any updates, can you see if it was indeed having the wrong hostname?

from persona-yahoo-bridge.

callahad avatar callahad commented on June 18, 2024

Okay, so, steps to reproduce. This is mainly for my own reference as I debug...

  1. Edit /etc/hosts and add 127.0.0.1 dev.bigtent.mozilla.org and ::1 dev.bigtent.mozilla.org right after the ::1 localhost entry.
  2. Create local.json as per docs/DEV_NOTES.md. Change use_https to true. browserid_server keeps its default value of http://127.0.0.1:10002.
  3. Create self-signed SSL certs as per docs/DEV_NOTES.md.
  4. Start bigtent with sudo ./server/bin/bigtent
  5. Attempt to use Gmail by logging in at https://dev.bigtent.mozilla.org/

Step 5 fails with the error above...

from persona-yahoo-bridge.

callahad avatar callahad commented on June 18, 2024

Upon hitting "sign in" at https://dev.bigtent.mozilla.org/ I'm correctly redirected to Google's OpenID endpoint.

However, two query parameters seem wrong: openid.return_to=https://localhost/auth/google/return&openid.realm=https://localhost/

After authenticating, I get redirected to https://localhost/auth/google/return, which fails as above.

from persona-yahoo-bridge.

callahad avatar callahad commented on June 18, 2024

Those query parameters are being pulled from the issuer in local.json.

Changing issuer to dev.bigtent.mozilla.org makes this work.

from persona-yahoo-bridge.

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.