Skip to content

server should provide logged-in WebID and its label(s) to user #897

Open

Description

@TallTed

Originally posted by @TallTed in #869

This does not appear to show the user their logged in WebID, nor any label associated with that WebID. I submit that both of these must be available -- not least because I may have the same label on multiple WebIDs, but only want to associate one WebID with some activity or data.

Activity

  1. dmitrizagidulin commented on Nov 2, 2018

    @dmitrizagidulin
    Contributor

    Can you explain more about the labels? (Their use with WebIDs is not something we currently do.)
    What are you using them for, what's the format, etc?

  2. TallTed commented on Nov 2, 2018

    @TallTed
    MemberAuthor

    A WebID URI is typically horribly user unfriendly, as has been discussed a lot in regards to typing that string into login boxes.

    Alice Jones should not see, for instance, https://blah.example.com/stuff/things/people/userid/alicejones#this as the logged-in-user -- they should see Alice Jones (which should be anchored with the URI, as here).

    It may be desirable to also have this display include the IdP's label, as

    Alice Jones (blah.example.com)

    or even

    Alice Jones (blah.example.com)

    (where the IdP is separately anchored).

  3. added and removed
    triageIssues that need team review
    on Nov 5, 2018
  4. Mitzi-Laszlo commented on Nov 13, 2018

    @Mitzi-Laszlo
  5. TallTed commented on Nov 14, 2018

    @TallTed
    MemberAuthor

    @Mitzi-Laszlo - Why is this issue (which I opened at @kjetilk's request) being closed without PR nor any additional conversation here nor in the new discourse page, which appears to me to do nothing but echo the brief exchange above....

  6. Mitzi-Laszlo commented on Nov 14, 2018

    @Mitzi-Laszlo

    Hi @TallTed, During the inrupt meeting we spoke about wanting to move some of the discussions from GitHub to forum.solidproject.org as it is a good place for conversations. Apologies for not explaining this in detail and not creating a pull request, we realise we went a bit fast and need to involve the community in the Solid decision. Shall I close the thread on Discourse? Happy to reopen this issue here too.

  7. TallTed commented on Nov 14, 2018

    @TallTed
    MemberAuthor

    @Mitzi-Laszlo -- Discussion may sometimes be better in the Discourse forum, and I don't feel strongly about where the discussion should happen on this issue. But I don't think opened issues should be closed until the relevant discussion is had, wherever that takes place, and the issue's closure should include reference to that discussion's conclusion, if it took place elsewhere.

    That said, I don't think there's very much to discuss on this...

    Once authenticated, that status should be displayed to the user, including both a clearly-visible human-friendly-label (e.g., foaf:name or similar -- depending on what's found via their WebID) and a less-visible or invisible machine-friendly-link (i.e., their WebID URI). Optimally there should also be an indicator of (and link to) the IdP that has authenticated them with that WebID.

    Is there a reasoned argument against such display and link?

  8. TallTed commented on Jun 21, 2019

    @TallTed
    MemberAuthor

    This is now inappropriately assigned, so will get no appropriate attention. @kjetilk @dmitrizagidulin @luis-aguilar-jd

  9. Ryuno-Ki commented on Jun 21, 2019

    @Ryuno-Ki

    Okay, given that there are lots of false assumptions about names - what would happen if two people have the same name?

  10. TallTed commented on Jun 21, 2019

    @TallTed
    MemberAuthor

    @Ryuno-Ki -

    I don't believe I'm making any assumptions whatsoever about names.

    Users must have WebIDs; that's part of the basic Solid architecture.

    WebID description documents SHOULD include labels for the user identified by that WebID; that's part of a good WebID description document. The values of those labels are immaterial to this issue.

    Are you're wondering what happens if two people with WebIDs http://example.com/JoeSmith#i and http://example.com/JosephSmith#me both have labels Joe Smith?

    They each see the label Joe Smith displayed with their WebID as the href beneath the label and/or their WebID and/or IdP's label is displayed (and likewise hreffed) alongside the label as, respectively, for example --

    Joe Smith (IdP: example.com)

    and

    Joe Smith (IdP: example.com)

    -- or --

    Joe Smith (WebID: http://example.com/JoeSmith#i; IdP: example.com)

    and

    Joe Smith (WebID: http://example.com/JosephSmith#me; IdP: example.com)

    I cannot imagine what else you might be wondering about in context of my issue, so perhaps you can provide more detail about your concern?

  11. Ryuno-Ki commented on Jun 21, 2019

    @Ryuno-Ki

    Are you're wondering what happens if two people with WebIDs http://example.com/JoeSmith#i and http://example.com/JosephSmith#me both have labels Joe Smith?

    Yes.

    So the second option would be more … unique (albeit quite verbose). Thank you for explaining.

  12. TallTed commented on Jun 21, 2019

    @TallTed
    MemberAuthor

    I'm not wedded to including the IdP in the display; these are just examples.

    I'd be equally fine with --

    Joe Smith (http://example.com/JoeSmith#i)

    and

    Joe Smith (http://example.com/JosephSmith#me)

    -- or even --

    Joe Smith

    and

    Joe Smith

    -- as all of these include both the human-friendly label (in the human-visible literal) and the WebID (in the href beneath it)

  13. Ryuno-Ki commented on Jun 21, 2019

    @Ryuno-Ki

    My concern here is, that we should try to avoid impersonation attacks.
    The WebID in href is nice, but experience taught us, that people are not always checking that one before clicking (think phishing attacks).

  14. TallTed commented on Jun 21, 2019

    @TallTed
    MemberAuthor

    @Ryuno-Ki - I think, for impersonation, you're concerned with attribution displayed on something I post via my WebID, which might display the same label as your WebID?

    That's a valid concern, and certainly underscores the need to have the WebID available wherever the label is shown -- and perhaps provides a reason to display the WebID in your scenario -- but it does not apply to the scenario at hand -- which should be showing the label (and maybe WebID) of the user logged into the Solid server/pod/whatever -- much as Amazon's website shows your name whenever you're logged in on their site (and not your email address, though that's what is used for the login username credential).

    Your scenario is more akin to Twitter, where (depending on the app in use) the user may choose to see (or the app may choose to show) the @handle or the label of the @handle or both. The @handle can only be used by an authenticated user and is unique to that authentication; the label of the @handle is not unique, and the same label may be found on any number of @handles.

  15. Ryuno-Ki commented on Jun 21, 2019

    @Ryuno-Ki

    Okay, got it. Thanks for your patience in explaining it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions