mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Documentation about using OpenID
This commit is contained in:
parent
983c08c8e4
commit
9eeb60b5cd
2 changed files with 17 additions and 5 deletions
|
|
@ -45,6 +45,12 @@ http://localhost:3000
|
|||
```
|
||||
9. Sign up, the first user will be automatically assigned the admin role.
|
||||
|
||||
10. Use openID
|
||||
In order to use the OpenID feature you need to register your application with the providers
|
||||
(Google and Facebook) and enter their API keys in config/secrets.yml file, changing the existing sample values.
|
||||
You can register as a devoloper with Google from https://code.google.com/apis/console#:access
|
||||
You can register as a devoloper with Facebook from https://developers.facebook.com/
|
||||
|
||||
### Run OSEM in production
|
||||
We recommend to run OSEM in production with [mod_passenger](https://www.phusionpassenger.com/download/#open_source)
|
||||
and the [apache web-server](https://www.apache.org/). There are tons of guides on how to deploy rails apps on various
|
||||
|
|
|
|||
|
|
@ -10,6 +10,12 @@ defaults: &defaults
|
|||
# Your errbit API key
|
||||
# errbit_key: '12345'
|
||||
|
||||
google_key: 'changeme'
|
||||
google_secret: 'changeme'
|
||||
|
||||
facebook_key: 'changeme'
|
||||
facebook_secret: 'changeme'
|
||||
|
||||
development:
|
||||
<<: *defaults
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue