AmSaml

Installation

If available in Hex, the package can be installed by adding am_saml to your list of dependencies in mix.exs:

def deps do
[{:am_saml, "~> 0.1.0"}]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/am_saml.

Configuration

Add this to your /config/dev.exs:

config :am_saml,
saml_idp_url: "saml_idp_url",
saml_issuer: "AM_SAML",
saml_audience: "saml_audience",
saml_cert: "CERT"

To use this in production we recommend using system environment variables like this in your /config/prod.exs:

config :am_saml,
saml_idp_url: System.get_env("SAML_IDP_URL"),
saml_issuer: System.get_env("SAML_ISSUER"),
saml_audience: System.get_env("SAML_AUDIENCE"),
saml_cert: System.get_env("SAML_CERT")

Docs

To generate docs run:

mix docs