From 3f82ec2f757c62c25a31b461e0a0cddc14886117 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sat, 24 May 2014 14:41:21 -0700 Subject: Working app! Copied signin logic from OwnYourGram. New "post" interface for writing a simple text post. Also supports browser geolocation. --- views/partials/auth-endpoint-help.php | 3 +++ views/partials/micropub-endpoint-help.php | 3 +++ views/partials/token-endpoint-help.php | 6 ++++++ 3 files changed, 12 insertions(+) create mode 100644 views/partials/auth-endpoint-help.php create mode 100644 views/partials/micropub-endpoint-help.php create mode 100644 views/partials/token-endpoint-help.php (limited to 'views/partials') diff --git a/views/partials/auth-endpoint-help.php b/views/partials/auth-endpoint-help.php new file mode 100644 index 0000000..6378db4 --- /dev/null +++ b/views/partials/auth-endpoint-help.php @@ -0,0 +1,3 @@ +

You can create your own authorization endpoint, but it's easier to use an existing service such as IndieAuth.com. To delegate to IndieAuth.com, you can use the markup provided below.

+

<link rel="authorization_endpoint" href="https://indieauth.com/auth">

+

Link: <https://indieauth.com/auth>; rel="authorization_endpoint"

diff --git a/views/partials/micropub-endpoint-help.php b/views/partials/micropub-endpoint-help.php new file mode 100644 index 0000000..35705ca --- /dev/null +++ b/views/partials/micropub-endpoint-help.php @@ -0,0 +1,3 @@ +

You will need to create a Micropub endpoint for your website which can create posts on your site. Once you've created the Micropub endpoint, you can indicate its location using the markup below.

+

<link rel="micropub" href="https://meParts['host'] : 'example.com') ?>/micropub">

+

Link: <https://meParts['host'] : 'example.com') ?>/micropub>; rel="micropub"

diff --git a/views/partials/token-endpoint-help.php b/views/partials/token-endpoint-help.php new file mode 100644 index 0000000..ea5442e --- /dev/null +++ b/views/partials/token-endpoint-help.php @@ -0,0 +1,6 @@ +

You can create your own token endpoint for + your website which can issue access tokens when given an authorization code, but + it's easier to use an existing service such as tokens.indieauth.com. + To use this service as your token endpoint, use the markup provided below.

+

<link rel="token_endpoint" href="https://tokens.indieauth.com/token">

+

Link: <https://tokens.indieauth.com/token>; rel="token_endpoint"

-- cgit v1.2.3