mozilla / openbadges-badgekit

No Longer Maintained
https://badgekit.org
Mozilla Public License 2.0
123 stars 84 forks source link

Unable to login via Persona, no obvious errors #484

Closed sacrophyte closed 8 years ago

sacrophyte commented 9 years ago

On a freshly installed Badgekit + API (ubuntu), I attempted to login. The Persona authentication process seems to work, and there are no errors reported on STDOUT or STDERR, but I am not logged in to badgekit; clicking on "start" (under Create a New Badge) repeats the entire process, and the login tab is still visible.

I am using config.json, and here is my ACL: "ACCESS_LIST": [".*"]

I have tried variations, which from a regex point of view, should all be the same: ".@.", also the email address I am using, verbatim.

Ideas/thoughts?

sacrophyte commented 8 years ago

This is now resolved. When using a server inside a subnetwork, the PERSONA_AUDIENCE apparently much match the request from the client. Unfortunately, this seems to mean that either you set it for internal use or external use.

It would be nice to track errors related to this issue.