Home

Awesome

AngularJS directive for OAuth 2.0 Build Status

AngularJS directive for the OAuth 2.0 Implicit Flow.

Documentation

oauth-ng

Contributing

Fork the repo on github and send a pull requests with topic branches. Do not forget to provide specs and test cases to your contribution. Please also update gh-pages branch with documentation when applicable.

Setup

OAuth 2.0 supported grant types

We support both OAuth 2.0 Authorization code Flow and the OAuth 2.0 Implicit Flow.

Authorization code flow

See: http://tools.ietf.org/html/rfc6749#section-4.1

To use the Authorization code flow set response-type="code" in the oauth directive.

Implicit flow

See: http://tools.ietf.org/html/rfc6749#section-4.2

To use the Implicit flow set response-type="token" in the oauth directive.

Unit tests (karma)

npm install && bower install

Creating your own distribution

The new distribution files will be created in the dist/ folder.

Coding guidelines

Follow github guidelines.

Feedback

Use the issue tracker for bugs. Mail or Tweet us for any idea that can improve the project.

Links

Authors

Project created and released as open-source thanks to Lelylan.

Contributors

Special thanks to all contributors for submitting patches.

Changelog

See CHANGELOG

TODO

:white_medium_square: OAuth 2.0 Authorization code Flow

Copyright

Copyright (c) 2014 Lelylan. See LICENSE for details.