Ueberauth Strategy for Northwestern University Agentless SSO

BuildCoverageHex.pm

Northwestern University Agentless SSO strategy for Ueberauth

Installation

  1. Add ueberauth and ueberauth_nusso to your list of dependencies in mix.exs:
def deps do
[
{:ueberauth, "~> 0.2"},
{:ueberauth_nusso, "~> 0.1.0"},
]
end
  1. Ensure ueberauth_nusso is started before your application:
def application do
[applications: [:ueberauth_nusso]]
end
  1. Configure the NuSSO integration in config/config.exs:
config :ueberauth, Ueberauth,
providers: [nusso: {Ueberauth.Strategy.NuSSO, [
base_url: "http://websso.example.com/",
consumer_key: "AGENTLESS_SSO_CONSUMER_KEY",
include_attributes: true
]}]
  1. In AuthController use the NuSSO strategy in your login/4 function:
def login(conn, _params, _current_user, _claims) do
conn
|> Ueberauth.Strategy.NuSSO.handle_request!
end

Contributing

Issues and Pull Requests are always welcome!