Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wejs/we-plugin-passport-oauth2

We.js v0.3.x+ oauth2 token authentication, use for your single page app
https://github.com/wejs/we-plugin-passport-oauth2

Last synced: about 1 month ago
JSON representation

We.js v0.3.x+ oauth2 token authentication, use for your single page app

Awesome Lists containing this project

README

        

# We.js oauth2 authentication plugin

Authentication for your single page app or serve API resources with Oauth 2

Powered by **oauth20-provider**

## Installation

With npm:

```sh
we i we-plugin-passport-oauth2
```

## Configuration

> we-plugin-passport-oauth2-client is plug and play by default but you can override default settings

For all avaible settings see: https://github.com/wejs/we-plugin-passport-oauth2/blob/master/plugin.js#L10

## Example

https://github.com/wejs-examples/we-project-oauth2

## API

See: plugins.js file or tests in this repository

## Links

> * We.js site: http://wejs.org

## License

MIT