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/auth_start.php | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 views/auth_start.php (limited to 'views/auth_start.php') diff --git a/views/auth_start.php b/views/auth_start.php new file mode 100644 index 0000000..819fd65 --- /dev/null +++ b/views/auth_start.php @@ -0,0 +1,54 @@ +
+

Authorization Endpoint

+ +

The authorization endpoint tells this app where to direct your browser to sign you in.

+ + authorizationEndpoint): ?> +
Found your authorization endpoint: authorizationEndpoint ?>
+ +
Could not find your authorization endpoint!
+

You need to set your authorization endpoint in a <link> tag on your home page or in an HTTP header.

+ + +
+ +
+

Token Endpoint

+ +

The token endpoint is where this app will make a request to get an access token after obtaining authorization.

+ + tokenEndpoint): ?> +
Found your token endpoint: tokenEndpoint ?>
+ +
Could not find your token endpoint!
+

You need to set your token endpoint in a <link> tag on your home page or in an HTTP header.

+ + + +
+ +
+

Micropub Endpoint

+ +

The Micropub endpoint is the URL this app will use to post new photos.

+ + micropubEndpoint): ?> +
Found your Micropub endpoint: micropubEndpoint ?>
+ +
Could not find your Micropub endpoint!
+

You need to set your Micropub endpoint in a <link> tag on your home page or in an HTTP header.

+ + + +
+ +authorizationURL): ?> + +

Ready!

+ +

Clicking the button below will take you to your authorization server which is where you will allow this app to be able to post to your site.

+ + Authorize + + + -- cgit v1.2.3