Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Rick Littel authored Jul 30, 2018
1 parent cb224ca commit fba7051
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ Docs can be found at [https://hexdocs.pm/ueberauth_adfs](https://hexdocs.pm/uebe
```elixir
config :ueberauth, Ueberauth.Strategy.ADFS.OAuth,
adfs_url: System.get_env("ADFS_URL"),
client_id: System.get_env("ADFS_CLIENT_ID")
adfs_metadata_url: System.get_env("ADFS_METADATA_URL"),
client_id: System.get_env("ADFS_CLIENT_ID"),
resource_identifier: System.get_env("RESOURCE_IDENTIFIER")
```

#### Add ADFS provider to Ueberauth:
Expand All @@ -45,8 +47,9 @@ Docs can be found at [https://hexdocs.pm/ueberauth_adfs](https://hexdocs.pm/uebe
providers: [
adfs: { Ueberauth.Strategy.ADFS,
[
adfs_metadata_url: "https://path.to/FederationMetadata.xml",
resource_identifier: "http://localhost:4000/auth/adfs"
#uid_field: :email,
#request_path: "/sessions/adfs",
#callback_path: "/sessions/adfs/callback"
]
}
]
Expand Down

0 comments on commit fba7051

Please sign in to comment.