Welcome to mirror list, hosted at ThFree Co, Russian Federation.

README « user_persona - github.com/nextcloud/apps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 81ddc8e1c32d5799f853c51df60f796ebcaeb263 (plain)
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
This application is distributed WITHOUT ANY WARRANTY; without even the implied 
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU AFFERO GENERAL PUBLIC LICENSE for more details.

Your feedback is appreciated.

Prerequisite:
ownCloud 5+
php-curl extension

Installation:
Upload the user_persona directory under the 'apps' directory of your ownCloud.
Navigate to the 'Apps' page in Admin, click the 'Mozilla Persona user backend' in the 
application list. Then click the 'Enable' button.

Configuration:
1. Navigate to Admin page.
2. Choose the action that should be performed if there are several matching users 
found on login.
3. Adjust CSP header sent by ownCloud core in order to allow js execution from 
login.persona.org domain:
  a. open config/config.php
  
  b. if you have no 'custom_csp_policy' entry there find the line 
    $CONFIG = array (
  and add after it:
    'custom_csp_policy' =>
	"default-src 'self'; script-src 'self' login.persona.org 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src *; font-src 'self' data:; media-src *",

  c. if you already have 'custom_csp_policy' entry, change its value by adding
        login.persona.org
     after 
        script-src 'self'



Usage:
Register at https://persona.org/ and add any of your email addresses.

Navigate to the 'Personal' page in your ownCloud. Enter the email address 
you connected to Persona to the password recovery input.