andreareginato/ng-oauth · GitHub
andreareginato/ng-oauth · GitHub
Extracted Page: https://github.com/andreareginato/ng-oauth
README.md
AngularJS directive (aka web component) working with the OAuth2 Implicit Flow.
Requirements
In order to make it work you need to install the following libraries.
- angular ~1.0.7
- angular-resource ~1.0.7
- angular-cookies ~1.0.7
- angular-sanitize ~1.0.7
Install
Install ng-oauth using bower
bower install ng-oauth
Example
<oauth ng-cloak
site="http://oauth.example.com"
client="client-id"
redirect="http://redirect.example.com"
scope="scope"
profile="http://api.example.com/me"
storage="cookies">Sign In</oauth>
Contributing
Fork the repo o
Additional text has been truncated due to copyright reasons. Things without URLs and private things don't get truncated.