cirandas.net

ref: master

plugins/oauth_provider/README.md


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
README - Oauth Provider Plugin
================================

OauthProvider is a plugin which allow noosfero to be used as an oauth provider 

Install
=======

Enable Plugin
-------------

cd <your_noosfero_dir>
./script/noosfero-plugins enable oauth_provider

Active Plugin
-------------

As a Noosfero administrator user, go to administrator panel:

- Click on "Enable/disable plugins" option
- Click on "Oauth Provider Plugin" check-box

Varnish Settings
================
If varnish has been used in your stack, you've to prevent cookies to be removed when calling authorization actions for  oauth_provider. E.g.:

```
if (req.url !~ "^/plugin/oauth_provider/*" && req.http.cookie !~ "_noosfero_.*") {
  unset req.http.cookie;
  return(lookup);
}
```

Development
===========

Running OauthProvider tests
--------------------

$ rake test:noosfero_plugins:oauth_provider

License
=======

Copyright (c) The Author developers.

See Noosfero license.