A utility application to manage API Client tokens for developers
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
vendor/assets
.env.sample
.gitignore
.ruby-gemset.sample
.ruby-version.sample
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru

README.md

Automatic Developer Tokens Dashboard

Warning: This is not an official Automatic application.

NOTE: This requires you to have a registered application with Automatic.

This allows developers working on the Automatic API Platform to build and utilize a handful of personal tokens.

I've found this useful as I create different utility scripts to use my autoamtic data. Since I wanted to work with my own data, I had to put myself through my own OAuth client process. I wanted to simplify that for development.

Usage

In order to use this, you will need to do a few things:

Specify your Automatic Client ID and Client Secret from your Developer Dashboard.

cp .env.sample .env

And fill in your credentials.

Now you can install with:

bundle install
bundle exec rake db:create:all
bundle exec rake db:migrate

This will install the dependencies and get your pg database setup.

Next you will want to seed the database with the Automatic scope definitions:

bundle exec rake db:seed

Now you can spin up the server with bundle exec rake server or bundle exec foreman start.

Overview

The application supports:

  • Managing OAuth tokens for your personal use. This is similar to Github Personal Tokens.
  • Managing the User records you have associated to the tokens.
  • Managing the relationships to the core Automatic scope definitions.

TODO

  • Add support to refresh tokens
  • Better OAuth error handling

Screens