Fixing issue #1315
These file changes tries to fix issue #1315(Document openid implementation better).
This commit is contained in:
parent
72f2871517
commit
72513f2744
1 changed files with 15 additions and 2 deletions
17
INSTALL.md
17
INSTALL.md
|
|
@ -68,8 +68,21 @@ If you would like to resize exisiting logos in your OSEM installation you can do
|
||||||
$ bundle exec rake logo:reprocess
|
$ bundle exec rake logo:reprocess
|
||||||
```
|
```
|
||||||
|
|
||||||
### openID
|
### openID
|
||||||
In order to use [openID](http://openid.net/) logins for your OSEM installation you need to register your application with the providers ([Google](https://code.google.com/apis/console#:access), [GitHub](https://github.com/settings/applications/new) or [Facebook](https://developers.facebook.com/)) and enter their API keys in `config/secrets.yml` file, changing the existing sample values.
|
In order to use [openID](http://openid.net/) logins for your OSEM installation you need to register your application with the providers ([Google](https://code.google.com/apis/console#:access), [GitHub](https://github.com/settings/applications/new) or [Facebook](https://developers.facebook.com/)) and enter their API keys in `config/secrets.yml` file, changing the existing sample values.
|
||||||
|
Note:
|
||||||
|
Based on environment, please do the replacement in the below steps under the respective environment sections.
|
||||||
|
Steps to be followed:
|
||||||
|
1.Create 'config/secrets.yml' file.
|
||||||
|
2.'config/secrets.yml' file has to be similar to the 'config/secrets.yml.example' file.
|
||||||
|
3.Run 'rake secret' and note down the secret key base.
|
||||||
|
4.Set this secret key base to the secret_key_base placeholder.
|
||||||
|
5.Now we have to register your application with the providers ([Google](https://code.google.com/apis/console#:access), [GitHub](https://github.com/settings/applications/new) or [Facebook](https://developers.facebook.com/)).
|
||||||
|
a.In order to register with the application, we will take an example of how to integrate facebook and it can be similarly done with other providers.
|
||||||
|
b.Join as a developer on https://developers.facebook.com.
|
||||||
|
c.Create a new app and complete filling your app details.
|
||||||
|
d.On the app's dashboard, the app's ID/key and app's secret will be present. Note them down.
|
||||||
|
e.Replace the noted values in facebook_key and facebook_secret placeholders in 'config.secrets.yml'.
|
||||||
|
|
||||||
## Recurring Jobs
|
## Recurring Jobs
|
||||||
=======
|
=======
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue