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

Automate configuration of mp-destination and token #1

Closed
cleverdevil opened this Issue Jul 6, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@cleverdevil
Owner

cleverdevil commented Jul 6, 2018

At present, Indiepaper for macOS requires that the user manually configure their target micropub endpoint and a bearer token. This is nice and explicit, but it isn't a particularly good user experience. It would be better if configuration was automated.

Currently, I am thinking that I should add auto-configuration via a URL handler for the macOS app. Something like this:

indiepaper:configure?micropubTargetURL=https://aperture.p3k.io/micropub&bearerToken=ASDF

Then, when clicked, the link would launch Indiepaper for macOS, store the configuration, and let the user know that they're all set.

(Originally published at: https://cleverdevil.io/2018/automate-configuration-of-mp-destination-and-token)

@cleverdevil

This comment has been minimized.

Owner

cleverdevil commented Jul 6, 2018

It would also be nice to add IndieAuth to the Indiepaper website, which could then generate bookmarklets and macOS configuration links automatically based upon the IndieAuth exchange.

For the use case of Aperture, the user would log into www.indiepaper.io with https://aperture.p3k.io, and then would select a channel to publish to during the auth flow.

(Originally published at: https://cleverdevil.io/2018/it-would-also-be-nice-to-add-indieauth-to-the)

@manton

This comment has been minimized.

manton commented Jul 6, 2018

Maybe this should be in a separate ticket, but just to capture what was said in the IndieWeb chat… We talked about using scope=save if Indiepaper supports IndieAuth for connecting to a Micropub endpoint automatically. Then the Micropub endpoint would know to route any POSTs to a special "read later" section.

@cleverdevil

This comment has been minimized.

Owner

cleverdevil commented Jul 7, 2018

I've added support for auto-configuration of the macOS app via URL:

fcbd376

In addition, I've made change to Indiepaper the service to support IndieAuth with scope=save:

cleverdevil/indiepaper@cfe02fd

... and a change to the Indiepaper website to support kicking off the IndieAuth exchange and then automatically generating the bookmarklet and macOS app configuration URL:

cleverdevil/indiepaper-website@8a1ac14

Now, users can go to https://www.indiepaper.io/indieauth.html and login via IndieAuth, and automatically configure the macOS app, and drag a bookmarklet to their bookmarks bar.

@cleverdevil cleverdevil closed this Jul 7, 2018

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