Coder Social home page Coder Social logo

oauthd-front's Introduction

oauthd front

This is the default front plugin for oauthd. oauthd is the open source version of OAuth.io's core, allowing you to easily integrate over 100 different OAuth providers, and use their APIs.

This plugin gives you an interface allowing you to manage your oauthd apps and plugins directly from your browser.

For more information, please check out oauthd's repository.

Installation

To install this plugin in an oauthd instance, just run the following command (you need to have oauthd installed):

$ oauthd plugins install https://github.com/oauth-io/oauthd-front.git

If you want to install a specific version or branch of this plugin, just run:

$ oauthd plugins install https://github.com/oauth-io/oauthd-front.git#branch_or_tag

oauthd-front's People

Contributors

bumpmann avatar thevinc avatar william26 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

oauthd-front's Issues

Selectize min.css

Minified file selectize.default.css (v0.8.5) with browser autoprefixes ect...

Relative url's resource loading

There is no way to use oauthd-front behind a reverse proxy and a different base-path than /.
Example; I have a frontend nginx proxy that routes my.domain/_/auth/ to where oauthd is running. I am able to access the page this way, but I am being redirected to /front, not /_/auth/front.
If I'm trying to access /_/auth/front directly, it will still try to load a bunch of resources from /....

I found many resources at https://github.com/oauth-io/oauthd-front/blob/master/public/index.html being accessed from a non-relative path.

There are also some references in files like https://github.com/oauth-io/oauthd-front/blob/master/public/src/app.coffee and the templates themself (https://github.com/oauth-io/oauthd-front/blob/master/public/templates/login.html).

Is there any plan for making relative paths possible? What other places than the one I mention needs to change to get this to work?

There are a couple of grunt projects for replacing text in files, but I'm not sure how you feel about a change like this in the first place..

npm install fail

Using node.js 0.12.14

I have this grunt error:

npm ERR! Darwin 15.4.0
npm ERR! argv "/Users/antoinelucas/.nvm/versions/v0.12.14/bin/node" "/Users/antoinelucas/.nvm/versions/v0.12.14/bin/npm" "install"
npm ERR! node v0.12.14
npm ERR! npm  v2.15.1
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants grunt@>=0.4.0
npm ERR! peerinvalid Peer [email protected] wants grunt@~0.4.0

my grunt/grunt-cli version:

grunt --version
grunt-cli v0.1.13
grunt v0.4.5

500 server error when using the interface

This plugin tried to perform a GET against /api/providers/%7B%7B%20provider.provider%20%7D%7D/logo at some point and results in restify throwing an exception when trying to parse the url.

Stack trace:-
too few args to sprintf
code: InternalError
message: too few args to sprintf

Error: too few args to sprintf at jsSprintf (/usr/lib/node_modules/oauthd/node_modules/extsprintf/lib/extsprintf.js:71:11) at WError (/usr/lib/node_modules/oauthd/node_modules/verror/lib/verror.js:208:41) at HttpError (/usr/lib/node_modules/oauthd/node_modules/restify/lib/errors/http_error.js:44:12) at RestError (/usr/lib/node_modules/oauthd/node_modules/restify/lib/errors/rest_error.js:41:15) at new module.exports.(anonymous function) (/usr/lib/node_modules/oauthd/node_modules/restify/lib/errors/rest_error.js:86:19) at serveFileFromStats (/usr/lib/node_modules/oauthd/node_modules/restify/lib/plugins/static.js:34:18) at /usr/lib/node_modules/oauthd/node_modules/restify/lib/plugins/static.js:84:17 at FSReqWrap.oncomplete (fs.js:123:15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.