• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openstax / accounts / 766
90%
master: 80%

Build:
Build:
LAST BUILD BRANCH: 2016-accounts-flow
DEFAULT BRANCH: master
Ran 15 Dec 2015 11:10AM UTC
Jobs 1
Files 143
Run time 10min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
766

push

travis-ci

karen chan
Add rake task to manage and list oauth apps

Example usage:

Creating an application:

```
$ rake accounts:oauth_apps:create USERNAME=admin APP_NAME='Local' REDIRECT_URI='http://localhost:4000/callback,http://localhost:8000/' EMAIL_FROM_ADDRESS='local@example.org' EMAIL_SUBJECT_PREFIX='[local]'
Created oauth application "Local"
```

Updating an application:

```
$ rake accounts:oauth_apps:create APP_NAME='Local' EMAIL_FROM_ADDRESS='test@openstax.org'
Updated oauth application "Local"
```

Listing all applications:

```
$ rake accounts:oauth_apps:list
Application Name: 2500cf2c3b561ae01ba0c55431290b8d4 ed7037415d63f2140435165183ec197c8
Local: <a class=hub.com/openstax/accounts/commit/026ec5d3c4302050045d9e9c735396d3924637bb">026ec5d3c<a href="https://github.com/openstax/accounts/commit/de80c78ae7f578d223b9ad8f991b58665afda451">bd1ba59ca9a4ee9715058d69 <a class=hub.com/openstax/accounts/commit/b085a0b7d8d3ef650001095680cd995e442433ea">b085a0b7d<a href="https://github.com/openstax/accounts/commit/de80c78ae7f578d223b9ad8f991b58665afda451">cf1a12f67fff439381c1ba08
OpenStax CNX: 20a7840627af9a95 <a class="double-link" href="https://github.com/openstax/accounts/commit/7c165fe056d7a2bb680002c78485900ddcbc203b">7c165fe05</a>3dacaa3589d3529f0ead7694
```

Displaying one application:

```
$ rake accounts:oauth_apps:list APP_NAME=local
Local: 026ec5d3c4302050045d9e9c735396d3924637bbbd1ba59ca9a4ee9715058d69 b085a0b7d8d3ef650001095680cd995e442433eacf1a12f67fff439381c1ba08
```

2124 of 2364 relevant lines covered (89.85%)

41.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 766.1 (1.9.3-p547) 15 Dec 2015 11:21AM UTC 0
89.85
Travis Job 766.1
Source Files on build 766
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #766
  • de80c78a on github
  • Prev Build on oauth-apps-task (#762)
  • Next Build on oauth-apps-task (#768)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc