Skip to content

Commit

Permalink
Merge pull request #35 from indigo-dc/documentation
Browse files Browse the repository at this point in the history
document the user agent and peer ip checks
  • Loading branch information
bwegh authored Jul 13, 2016
2 parents 954cc22 + 48a415e commit 8f68665
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ It is also possible to specify the module to use by passing its id:

Once the login has either succeeded or failed the registered module gets called.

During the login process the oidcc library ensures the user agent and the
remote ip stay the same.

These checks can be disabled by updating the oidcc settings:
```
%% disable user agent check
application:set_env(oidcc, check_user_agent, false).
%% disable remote ip check
application:set_env(oidcc, check_peer_ip, false).
```
### Login Users: by hand
#### Create Redirection to Login Page
Creating a redirection is done with one of the `oidcc:create_redirect_url`
Expand Down

0 comments on commit 8f68665

Please sign in to comment.