Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Eeems_ on August 25, 2019, 09:02:04 AM

Title: smf-webfinger
Post by: Eeems_ on August 25, 2019, 09:02:04 AM
Link to the mod (https://custom.simplemachines.org/index.php?mod=4184)

his is a simple webfinger implementation.
Users can be located by their email address if they haven't hidden their email. Otherwise they can be located by <username>@<domain>

See webfinger.net (https://webfinger.net/) for more information on what webfinger is. You can also see an example of it in action here (https://client.webfinger.net/lookup?resource=Eeems%40smf.eeems.codes).

This mod requires PHP 5.4 or later and is intended for SMF 2.0.X.

Simple Machines is authorized to redistribute this mod.
Title: Re: smf-webfinger
Post by: Shambles on August 25, 2019, 04:00:12 PM
I checked out both your links and even downloaded your mod.

Still no idea what you're offering or how to use it, or for what purpose.

Maybe it's just me but you've not given much of a description of the use case.
Title: Re: smf-webfinger
Post by: GigaWatt on August 25, 2019, 04:02:48 PM
Yeah... I'm also at a loss at what this mod does.
Title: Re: smf-webfinger
Post by: Arantor on August 25, 2019, 05:37:04 PM
The idea is that an email address isn't necessarily just an email, it's the bedrock of an online identity and using that service you could associate links with the email or whatever else. Sort of like turning your email into a virtual business card of sorts.
Title: Re: smf-webfinger
Post by: Shambles on August 25, 2019, 05:48:30 PM
So could we have an example of its use in forum life...?
Title: Re: smf-webfinger
Post by: Looking on August 25, 2019, 06:31:00 PM
The mod is base on this external application: https://webfinger.net/
Title: Re: smf-webfinger
Post by: Shambles on August 25, 2019, 06:35:38 PM
Quote from: Looking on August 25, 2019, 06:31:00 PM
The mod is base on this external application: https://webfinger.net/

Same link as posted in the op. Why would you think that's helpful?
Title: Re: smf-webfinger
Post by: Looking on August 25, 2019, 06:40:03 PM
Because that page shows you how to use it:
Quote
Table of Contents

   1. Introduction ....................................................3
   2. Terminology .....................................................3
   3. Example Uses of WebFinger .......................................4
      3.1. Identity Provider Discovery for OpenID Connect .............4
      3.2. Getting Author and Copyright Information for a Web Page ....5
   4. WebFinger Protocol ..............................................7
        4.1. Constructing the Query Component of the Request URI.......7
        4.2. Performing a WebFinger Query..............................8
        4.3. The "rel" Parameter.......................................9
        4.4. The JSON Resource Descriptor (JRD).......................11
           4.4.1. subject.............................................11
           4.4.2. aliases.............................................11
           4.4.3. properties..........................................12
           4.4.4. links...............................................12
        4.5. WebFinger and URIs.......................................14
   5. Cross-Origin Resource Sharing (CORS) ...........................14
   6. Access Control .................................................15
   7. Hosted WebFinger Services ......................................15
   8. Definition of WebFinger Applications ...........................16
      8.1. Specification of the URI Scheme and URI ...................17
      8.2. Host Resolution ...........................................17
      8.3. Specification of Properties ...............................17
      8.4. Specification of Links ....................................18
      8.5. One URI, Multiple Applications ............................18
      8.6. Registration of Link Relation Types and Properties ........19
   9. Security Considerations ........................................19
      9.1. Transport-Related Issues ..................................19
      9.2. User Privacy Considerations ...............................19
      9.3. Abuse Potential ...........................................21
      9.4. Information Reliability ...................................21
   10. IANA Considerations ...........................................22
      10.1. Well-Known URI ...........................................22
      10.2. JSON Resource Descriptor (JRD) Media Type ................22
      10.3. Registering Link Relation Types ..........................24
      10.4. Establishment of the "WebFinger Properties" Registry .....24
           10.4.1. The Registration Template .........................24
           10.4.2. The Registration Procedures .......................25
   11. Acknowledgments ...............................................26
   12. References ....................................................26
      12.1. Normative References .....................................26
      12.2. Informative References ...................................27


Title: Re: smf-webfinger
Post by: -Rock Lee- on August 26, 2019, 02:27:18 PM
I think I understand how something like your identity based on an email works but it could be wrong, can't you upload a picture to understand it better?


Regards!
Title: Re: smf-webfinger
Post by: Arantor on August 26, 2019, 02:28:49 PM
Can the author? Probably. Can I be bothered? No (I'm not the author, I just read the given links)
Title: Re: smf-webfinger
Post by: Eeems_ on February 24, 2020, 12:54:03 PM
Not sure why I wasn't setup to get notifications on this topic by default, so I completely missed that there had been any responses. As Looking said, webfinger.net explains everything you'd need to know about how it works. As for this mod, it just adds in the building blocks for other applications that use webfinger to discover users on an SMF forum.