72°F

Aaron Parecki

  • Articles
  • Notes
  • Photos
  • Julien Deswaef https://mastodon.social/@xuv   •   Jul 7

    @aaronpk PS: I should mention that I started following you from the other instance. But still could not see your post before searching for it.

    Aaron Parecki
    Yeah that sounds like Mastodon's limitation where it doesn't actually go fetch posts from people if someone on the server isn't already following them. Thanks for providing an example where that was confusing!
    Portland, Oregon, USA • 77°F
    2 likes
    Sat, Jul 7, 2018 2:53pm -07:00
  • Julien Deswaef https://mastodon.social/@xuv   •   Jul 7

    @aaronpk yes. Exactly tried that. It does not work. Also, I can't seem to see the boost I did from a different instance looking at this account.

    Aaron Parecki
    I think I fixed it... give it a try again?
    Portland, Oregon • 74°F
    3 replies
    Sat, Jul 7, 2018 2:05pm -07:00
  • Julien Deswaef https://mastodon.social/@xuv   •   Jul 7

    @aaronpk for some reason, this post does not federate well with all Mastodon instances. I'm trying to boost it from another account elsewhere, but I can't seem to see it. Any clue?

    Aaron Parecki
    by any chance, are you trying to paste that post's URL into the search box on other Mastodon instances?
    Portland, Oregon • 74°F
    2 replies
    Sat, Jul 7, 2018 1:52pm -07:00
  • Julien Deswaef https://mastodon.social/@xuv   •   Jul 7

    @aaronpk for some reason, this post does not federate well with all Mastodon instances. I'm trying to boost it from another account elsewhere, but I can't seem to see it. Any clue?

    Aaron Parecki
    hm, I've been incrementally implementing ActivityPub, doing as little as possible each time. I don't think I've tried what you're doing yet, trying to find my post from an instance that is not already following me. I'm not actually sure what I need to implement to make that work though! Any ideas?
    Portland, Oregon • 74°F
    Sat, Jul 7, 2018 1:44pm -07:00
  • https://github.com/cleverdevil/indiepaper

    Look for mf2 first, use Mercury as a fallback

    If the page has mf2, that is likely to be much better data than what Mercury finds. Indiepaper should first check if it finds an article via mf2, and if it doesn't, then can use Mercury to extract what it can.
    continue reading...
    Sat, Jul 7, 2018 1:30pm -07:00
  • Eugen https://mastodon.social/@Gargron   •   Jul 7

    IndieAuth sounds interesting as a more generic way for federated applications to allow app registrations https://indieauth.spec.indieweb.org/

    The question is how do we adapt this after our current, extremely similar but somewhat different system has been in production use for around 2 years #mastodev

    Aaron Parecki
    The existing Mastodon API uses OAuth 2, right? Seems like you'd be able to add this on top and still also support the existing behavior without any changes. You'd get the benefit of auto discovery and global client IDs. Maybe we should chat about this at the next w3c call?
    Portland, Oregon, USA • 74°F
    1 like 1 repost
    Sat, Jul 7, 2018 1:29pm -07:00
  • Sven Knebel https://www.svenknebel.de/   •   Jul 7
    Careful though if anything on there is supposed to send e-mail: .xyz is among the TLDs that are very strong spam-indicators.
    Aaron Parecki
    j/k, I already forgot the domain I registered. It's actually p3k.app!
    Portland, Oregon • 74°F
    Sat, Jul 7, 2018 1:02pm -07:00
  • Tantek Çelik http://tantek.com/   •   Jun 26

    Support fallback to RelMeAuth for websites missing authorization endpoint

    Aaron Parecki
    Unfortunately this won't really work.

    Even if you could sign in to Aperture, you still wouldn't be able to use any of the reader apps. The reader apps expect to be able to get an access token in order to make authenticated requests to Aperture. Getting an access token requires having an authorization endpoint and token endpoint.

    If I allowed people to log in to Aperture without fully setting up IndieAuth, it would just be confusing because then they'd get an error trying to sign in to any apps. I think it's better to not mislead people at that stage, and require that they set up IndieAuth before being able to sign in to Aperture.
    Portland, Oregon, USA • 73°F
    Sat, Jul 7, 2018 12:08pm -07:00
  • Josh Pollock https://JoshPress.net   •   Jul 7
    Wow, really interesting.

    Is this plugin on Github? https://wordpress.org/plugins/indieauth/
    Aaron Parecki
    Yep! https://github.com/indieweb/wordpress-indieauth

    That's annoying that wordpress.org doesn't have a link to the GitHub source.
    Portland, Oregon • 72°F
    2 likes 1 repost 3 replies
    Sat, Jul 7, 2018 9:47am -07:00
  • Kyle B. Johnson http://kylebjohnson.me   •   Jul 7
    Link? (On the road, but want to put a pin in this)
    Aaron Parecki
    Alright, I finished my post explaining the details of this! Have a look ➡️ https://aaronparecki.com/2018/07/07/7/oauth-for-the-open-web
    Portland, Oregon, USA • 72°F
    10 likes 4 reposts 5 replies 1 mention
    Sat, Jul 7, 2018 9:42am -07:00
  • Daniel Goldsmith https://ascraeus.org/   •   Jul 7

    Being the change isn’t enough

    Aaron Parecki
    fwiw, I registered p3k.xyz p3k.app and I'm planning on eventually moving all my p3k.io subdomains over to it. From a practical perspective, it will take a while, but it's something.
    Portland, Oregon • 70°F
    2 likes 2 replies
    Sat, Jul 7, 2018 9:05am -07:00
  • donpdonp https://mastodon.xyz/@donpdonp   •   Jul 6

    we've got the seeds of federated twitter, instagram, and youtube. it seems there's a gap in the federated reddit space. group/tag/topic organized links/text.

    Aaron Parecki
    https://news.indieweb.org

    https://indieweb.xyz/en/hottubs
    Portland, Oregon • 66°F
    Fri, Jul 6, 2018 9:57pm -07:00
  • donpdonp https://mastodon.xyz/@donpdonp   •   Jul 6

    @aaronpk ah what i should have said is the feed includes sites that are implemented in ... p3k.io... etc.

    Aaron Parecki
    ooh yes I see what you mean now. Sometimes I forget that my website's software has a name, because it's not really packaged up for anyone else.
    Portland, Oregon • 79°F
    Fri, Jul 6, 2018 3:30pm -07:00
  • donpdonp https://mastodon.xyz/@donpdonp   •   Jul 6

    my mastodon feed now includes accounts from pixelfed, pleroma.site, p3k.io, and mastodon. i thank diaspora for blazing the trail. the second wave will or maybe have already reached critical mass. #fediverse

    Aaron Parecki
    I think you mean from aaronparecki.com not p3k.io! My site is now natively a member of the fediverse!
    Portland, Oregon • 79°F
    1 reply
    Fri, Jul 6, 2018 3:22pm -07:00
  • skpy https://github.com/skpy   •   Jul 6

    #46 Feature Request: Reposts Only view

    Aaron Parecki
    That's a use case I totally hadn't considered! Since there's already a dropdown to select certain types to only include, this is an easy change!
    Portland, Oregon • 61°F
    Fri, Jul 6, 2018 7:12am -07:00
  • Aaron Parecki https://aaronparecki.com/   •   Jul 5

    tl;dr The more I think about it, the more I think this parameter enables a use case that isn't really necessary. The me parameter in the code exchange step specifically allows for a token endpoint to be detached from both the Micropub endpoint and the authorization endpoint.

    Full details below.

    The different use cases that are all supported right now:

    Integrated Micropub/Token/Authorization Endpoints

    This is the simplest case in terms of architecture, but the most amount of work for a developer. In this case, someone writes all three parts of the system. Since they are part of the same system, the mechanism by which the token endpoint validates authorization codes does not need to be standardized, it's all internal.

    Both my website and the Wordpress IndieAuth plugin fall under this case.

    Authorization Endpoint Service, Built-In Token and Micropub Endpoints

    In this case, someone is building a CMS that includes a Micropub endpoint as well as a token endpoint. However, they want to speed up their development, so they use an authorization endpoint service such as indieauth.com.

    The client sends the auth code to the token endpoint, and since the token endpoint is part of the CMS, it already knows the only place it can go to validate the auth code is the authorization endpoint service that it's configured to use. Therefore there is no need for the me parameter, which normally tells the token endpoint where to go to verify the auth code.

    Authorization Endpoint and Token Endpoint Service

    Specifically this case is where a service provides both an authorization endpoint and token endpoint. This is the quickest path to building a Micropub endpoint, since all you need to do is build out the Micropub endpoint itself, and when any requests come in with a token, the endpoint goes and checks whether the token is valid by testing it against the token endpoint service.

    This is a very common case with peoples' individual websites, as it offloads the development and maintenance of the security bits to a service. I provide these as a service at indieauth.com and tokens.indieauth.com.

    The interesting thing though is that when a single service provides both, there is also no need for the me parameter at the code exchange step, since the token endpoint already knows where it needs to verify the authorization code since the code was issued by the same system.

    Separate Authorization Endpoint and Token Endpoint Services

    The only case where the me is needed is when the authorization endpoint and token endpoint are both used as services and they are separate services. Imagine a standalone token endpoint service: the job of this service is to verify authorization codes and issue access tokens, and later verify access tokens. In this situation, a request comes in with an unknown authorization code and it needs to verify it. Since it was not part of the system that issued the code, it needs to know how to verify it. Right now, this is enabled because this request also includes the me parameter, so the token endpoint goes and looks up the user's authorization endpoint and verifies the code there.

    The thing I'm realizing though is that this is really quite an edge case, and one that I don't think is actually very important. Typically someone who is building a Micropub endpoint themselves will first start by using an authorization/token endpoint service, and there is no benefit to them if those are two separate services. In fact it's probably easier if they are just part of the same system since it's less moving parts to think about at this stage.

    Later, that person can decide they want to take over issuing tokens, but still don't want to build out the UI of an authorization service. At this point, they fall under the second use case above. They build out a token endpoint into their software, and since they're using the authorization endpoint service they know where to verify authorization codes.

    On the other end of the spectrum, you have people who build the whole thing out themselves, like my website and the Wordpress plugin. In these cases the me is completely irrelevant in the code exchange step.

    The particular situation that the me enables is using a separate service for the authorization and token endpoints, and I can't think of a case where that is actually important.

    Aaron Parecki

    Here's a quick survey of current implementations of token endpoints:

    Integrated Micropub/Token/Authorization Endpoints

    • p3k - verifies the me parameter exists, but does not use it for anything
    • Wordpress IndieAuth plugin - verifies the me parameter exists, but does not use it for anything source
    • Micro.blog - does not check or use the me parameter details
    • Commentpara.de - does not check or use the me parameter source
    • Skein - does not check or use the me parameter source
    • Known - does not check or use the me parameter source
    • Silo.pub - checks that the authorization code was issued to the me in the request. not strictly necessary since it ends up using the me that is stored with the authorization code anyway. source

    Authorization Endpoint Service, Built-In Token and Micropub Endpoints

    • Redwind - uses indieauth.com as the authorization endpoint service source
    • Neonblog - uses indieauth.com auth.php token.php

    Authorization Endpoint and Token Endpoint Service

    • acquiescence - verifies the me parameter exists, but does not use it source

    Standalone Token Endpoint Service

    • tokens.indieauth.com - uses the me to find the authorization endpoint to verify the code source
      • In practice, most people end up using tokens.indieauth.com along with indieauth.com since those are the examples in all the documentation.
    • mintoken - uses the me to find the authorization endpoint, but only allows a whitelisted set of endpoints to be used source readme
      • This makes mintoken on the edge of a standalone service, since it does end up being tied to particular authorization endpoints. It does provide the ability to be used with multiple, so the me parameter enables this feature.
    Portland, Oregon, USA • 77°F
    Thu, Jul 5, 2018 9:21pm -07:00
  • 00dani https://github.com/00dani   •   Jun 26

    An alternative possibility would be to prescribe the format of IndieAuth access codes, as part of the standard. For instance, we could prefix the usual arbitrary implementation-specific access code blob with the expected me value, making it easy for token endpoints to discover the correct authorization endpoint. code=https://00dani.me/$C5r1cuqJk1fUTGrWX4DPHz44jxpgHF or something like that. Then, of course, pure OAuth 2.0 clients would pass through that extra piece of information with no trouble whatsoever, since it's embedded in an existing standard parameter.

    It's certainly a messy approach, though, and one might question whether OAuth client compatibility is worth adding this complexity to IndieAuth. Additionally, making a change like this now would introduce potential incompatibility: a token endpoint that knows it can pull information out of the access code might still receive an access code from an authorization endpoint that doesn't embed information in the prescribed format, for instance.

    Still, prescribing a format for access codes might not be quite as unreasonable as it seems: after all, client IDs are also treated as opaque in pure OAuth 2.0, whereas in IndieAuth they have a prescribed and meaningful format.

    Aaron Parecki

    tl;dr The more I think about it, the more I think this parameter enables a use case that isn't really necessary. The me parameter in the code exchange step specifically allows for a token endpoint to be detached from both the Micropub endpoint and the authorization endpoint.

    Full details below.

    The different use cases that are all supported right now:

    Integrated Micropub/Token/Authorization Endpoints

    This is the simplest case in terms of architecture, but the most amount of work for a developer. In this case, someone writes all three parts of the system. Since they are part of the same system, the mechanism by which the token endpoint validates authorization codes does not need to be standardized, it's all internal.

    Both my website and the Wordpress IndieAuth plugin fall under this case.

    Authorization Endpoint Service, Built-In Token and Micropub Endpoints

    In this case, someone is building a CMS that includes a Micropub endpoint as well as a token endpoint. However, they want to speed up their development, so they use an authorization endpoint service such as indieauth.com.

    The client sends the auth code to the token endpoint, and since the token endpoint is part of the CMS, it already knows the only place it can go to validate the auth code is the authorization endpoint service that it's configured to use. Therefore there is no need for the me parameter, which normally tells the token endpoint where to go to verify the auth code.

    Authorization Endpoint and Token Endpoint Service

    Specifically this case is where a service provides both an authorization endpoint and token endpoint. This is the quickest path to building a Micropub endpoint, since all you need to do is build out the Micropub endpoint itself, and when any requests come in with a token, the endpoint goes and checks whether the token is valid by testing it against the token endpoint service.

    This is a very common case with peoples' individual websites, as it offloads the development and maintenance of the security bits to a service. I provide these as a service at indieauth.com and tokens.indieauth.com.

    The interesting thing though is that when a single service provides both, there is also no need for the me parameter at the code exchange step, since the token endpoint already knows where it needs to verify the authorization code since the code was issued by the same system.

    Separate Authorization Endpoint and Token Endpoint Services

    The only case where the me is needed is when the authorization endpoint and token endpoint are both used as services and they are separate services. Imagine a standalone token endpoint service: the job of this service is to verify authorization codes and issue access tokens, and later verify access tokens. In this situation, a request comes in with an unknown authorization code and it needs to verify it. Since it was not part of the system that issued the code, it needs to know how to verify it. Right now, this is enabled because this request also includes the me parameter, so the token endpoint goes and looks up the user's authorization endpoint and verifies the code there.

    The thing I'm realizing though is that this is really quite an edge case, and one that I don't think is actually very important. Typically someone who is building a Micropub endpoint themselves will first start by using an authorization/token endpoint service, and there is no benefit to them if those are two separate services. In fact it's probably easier if they are just part of the same system since it's less moving parts to think about at this stage.

    Later, that person can decide they want to take over issuing tokens, but still don't want to build out the UI of an authorization service. At this point, they fall under the second use case above. They build out a token endpoint into their software, and since they're using the authorization endpoint service they know where to verify authorization codes.

    On the other end of the spectrum, you have people who build the whole thing out themselves, like my website and the Wordpress plugin. In these cases the me is completely irrelevant in the code exchange step.

    The particular situation that the me enables is using a separate service for the authorization and token endpoints, and I can't think of a case where that is actually important.

    Portland, Oregon, USA • 77°F
    2 likes 1 reply
    Thu, Jul 5, 2018 8:33pm -07:00 #indieauth
  • Gargron https://github.com/Gargron   •   Jul 6

    Yep I just discovered that. Could just remove those particular tests...

    Aaron Parecki
    That would work 😃

    The only downside to this change is until the rest of the mf2 parsers are updated they'll be getting bad parse results from Mastodon permalinks. Could be good incentive to hurry up on updating those parsers tho 😂
    Portland, Oregon, USA • 86°F
    Thu, Jul 5, 2018 5:23pm -07:00
  • Gargron https://github.com/Gargron   •   Jul 5

    But what about posts with no CW?

    Aaron Parecki
    The thing that stopped me from sending a PR for this is that the Ruby parser doesn't have the updated rules, so it's not possible to create a good test case in Mastodon for the changes. Just removing the class right now will break a bunch of tests that are expecting the name property.
    Portland, Oregon, USA • 86°F
    Thu, Jul 5, 2018 4:53pm -07:00
  • Gargron https://github.com/Gargron   •   Jul 5

    But what about posts with no CW?

    Aaron Parecki

    Posts with no CW would end up with just a content property. According to the new parsing rules, those look just like normal content-only posts and sites don't see a name property and treat them as normal text/microblog/toot/tweet posts.

    Portland, Oregon, USA • 86°F
    Thu, Jul 5, 2018 4:51pm -07:00
older

Hi, I'm Aaron Parecki, Director of Identity Standards at Okta, and co-founder of IndieWebCamp. I maintain oauth.net, write and consult about OAuth, and participate in the OAuth Working Group at the IETF. I also help people learn about video production and livestreaming. (detailed bio)

I've been tracking my location since 2008 and I wrote 100 songs in 100 days. I've spoken at conferences around the world about owning your data, OAuth, quantified self, and explained why R is a vowel. Read more.

  • Director of Identity Standards at Okta
  • IndieWebCamp Founder
  • OAuth WG Editor
  • OpenID Board Member

  • 🎥 YouTube Tutorials and Reviews
  • 🏠 We're building a triplex!
  • ⭐️ Life Stack
  • ⚙️ Home Automation
  • All
  • Articles
  • Bookmarks
  • Notes
  • Photos
  • Replies
  • Reviews
  • Trips
  • Videos
  • Contact
© 1999-2025 by Aaron Parecki. Powered by p3k. This site supports Webmention.
Except where otherwise noted, text content on this site is licensed under a Creative Commons Attribution 3.0 License.
IndieWebCamp Microformats Webmention W3C HTML5 Creative Commons
WeChat ID
aaronpk_tv