Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable our rdf-profiles to log into dokieli #360

Open
dr0i opened this issue Dec 4, 2017 · 3 comments
Open

Enable our rdf-profiles to log into dokieli #360

dr0i opened this issue Dec 4, 2017 · 3 comments

Comments

@dr0i
Copy link
Member

dr0i commented Dec 4, 2017

To sign-in with foaf:profile in e.g. csarven.ca/ one needs a valid foaf:profile, see #359. Also:

Of CORS my WebID doesn't work…

(Source: @bencomp 15:41 at https://gitter.im/linkeddata/dokieli?at=5a255eab87680e6230ccb84b )

@acka47
Copy link
Contributor

acka47 commented Dec 4, 2017

Don't we have valid foaf profiles (whatever that is)? I think Ben is referring to a missing CORS header. Do we have a problem with that?

@dr0i
Copy link
Member Author

dr0i commented Dec 4, 2017

....(whatever that is)

exactly.
And CORS we have not enabled at least for http://lobid.org/download/pc.htm . Hm, as my name shows up when trying to sign-in at csarven.ca with http://lobid.org/download/pc.htm maybe it's working even without CORS enabled. My avatar doesn't show up so I am not sure if I am logged in.

@csarven
Copy link

csarven commented Dec 5, 2017

The current "sign in" (via WebID/URI input) is not authenticating but only fetching the profile information. So, a test against that should be fine (for the purpose of this issue) but the actual authentication is orthogonal, ie. with TLS or OIDC at this time.

As for CORS stuff, if the WebID uses http scheme, it'll go through a proxy ( https://dokie.li/proxy?uri= ). This is to get around mixed content blocking if the origin URL is https. But, here it just defaults to the proxy to be on the safe side. For https, it won't go through the proxy, so in that case CORS needs to be enabled on the server hosting the WebID.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants