~srushe/babbas

fc21dd541263b6d2d9d326e1b9235ed8e2f0dea6 — Stephen Rushe 5 months ago cf66570
Update to use released version of indieauth-token-verification gem
3 files changed, 5 insertions(+), 10 deletions(-)

M Gemfile
M Gemfile.lock
M README.md
M Gemfile => Gemfile +1 -1
@@ 7,6 7,6 @@ git_source(:github) {|repo_name| "git@github.com:#{repo_name}" }

gem 'sinatra'
gem 'dotenv'
gem 'indieauth-token-verification', github: 'srushe/indieauth-token-verification'
gem 'indieauth-token-verification'
gem 'mime-types'


M Gemfile.lock => Gemfile.lock +3 -8
@@ 1,13 1,8 @@
GIT
  remote: git@github.com:srushe/indieauth-token-verification
  revision: 4396ba3e20b0b50d589c8b0b01e24404ccd083b5
  specs:
    indieauth-token-verification (0.2.0)

GEM
  remote: https://rubygems.org/
  specs:
    dotenv (2.7.6)
    indieauth-token-verification (0.2.1)
    mime-types (3.3.1)
      mime-types-data (~> 3.2015)
    mime-types-data (3.2019.1009)


@@ 29,9 24,9 @@ PLATFORMS

DEPENDENCIES
  dotenv
  indieauth-token-verification!
  indieauth-token-verification
  mime-types
  sinatra

BUNDLED WITH
   1.16.3
   1.17.2

M README.md => README.md +1 -1
@@ 50,7 50,7 @@ This results in `photos` being included correctly included in both the path used

##### Token Verification environment variables

Babbas uses the [IndieAuth::TokenVerification](https://github.com/srushe/indieauth-token-verification/) ruby gem to verify an IndieAuth access token against a token endpoint, and the `TOKEN_ENDPOINT` and `DOMAIN` environment variables are required by that gem.
Babbas uses the [IndieAuth::TokenVerification](https://code.deeden.co.uk/indieauth-token-verification/) ruby gem to verify an IndieAuth access token against a token endpoint, and the `TOKEN_ENDPOINT` and `DOMAIN` environment variables are required by that gem.

`TOKEN_ENDPOINT` specifies the token endpoint to be used to validate the access token. Failure to specify `TOKEN_ENDPOINT` will result in a `IndieAuth::TokenVerification::MissingTokenEndpointError` error being raised.