Cannot login with user@host format
Related #43 (closed)
When login with jbpasquier@api.test1.startinblox.com
from api.test2.startinblox.com, I get {"error": "cannot_get_provider_info", "error_description": "Cannot get provider informations"}
.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Jean-Baptiste Pasquier mentioned in issue #43 (closed)
mentioned in issue #43 (closed)
- Maintainer
This is happening because the endpoint
/.well-known/webfinger/
is returning 404 (on both api.test1.startinblox and alpha.happy-dev.fr).. for example https://api.test1.startinblox.com/.well-known/web-finger?resource=acct%3Ajbpasquier%40api.test1.startinblox.comon my localhost I receive this
{"subject": "acct:alice@example.com", "aliases": [], "links": []}
the url is defined here https://git.startinblox.com/djangoldp-packages/djangoldp/blob/master/djangoldp/urls.py#L24
do you know why it wouldn't be available on the live servers?
Collapse replies - Author Owner
Could you try on local with DEBUG=False? That's the only difference I've in mind.
- Maintainer
I tried that but it didn't change anything
- Author Owner
You're using jblemee version of https://github.com/jblemee/django-oidc-provider/ right?
- Maintainer
yeah (from packages.yml)
oidc_provider: 'git+https://github.com/jblemee/django-oidc-provider.git@develop'
- Author Owner
- Maintainer
oh yeah! Sorry my bad :)
- Maintainer
Okay so this is happening because the email didn't match the web id... I think this illustrates my argument that it shouldn't have to :)
Closing this because the issue for this is here: #40 (closed)
- Calum Mackervoy closed
closed