(2020-04-25) Reactivating IndieAuth
When setting up WikiFlux I set up IndieAuth using Twitter.
I realized a while back that didn't work anymore, because Twitter had turned off some chunk of its API.
I want to start experiment with WebMention, so I'm reactivating it. Using http://webseitz.fluxent.com/
So I set it up with GitHub. That works.
But I noticed the "user name" is pretty ugly. So I ask on IRC....
- it will always be a URL, not a name from my HCard.
- but major ugliness comes from using the full page-URL, which becomes necessary because I have no page at all at my domain-root. So need to fix that (not sure whether I can get a route that works in my code, or if I need to handle that at the nginx level...
- Apr26
- yes have an
add_url_rule()
already to/static/
directory, which hasindex.html
in it - http://webseitz.fluxent.com/index.html works, but raw host doesn't give it
- needed to add route, method that calls
send_static_file('index.html')
- now static page returns at root - but that doesn't solve the "ugly username" issue.
- pondering whether to leave it as-is, or make index return a page that's dynamic enough to put the IndieAuth bits in, and change the
rel="me"
to point to the root.... - made the changes. Ah, had to change my URL in my github profile to just point to the root. Now works.
- yes have an
Afterwards, if you want the thing on the wiki where you can use {{nickname}}
then the wiki has a special way to do that which has nothing to do with authentication: sparkline/template https://indieweb.org/wikifying#Step_Four:_Add_a_sparkline
Edited: | Tweet this! | Search Twitter for discussion