View Source Samly.State.Session (samly v1.4.0)

Stores SAML assertion in Plug session.

This provider uses Plug session to save the authenticated SAML assertions from IdP. The session key name in the configuration is optional.


  • :key - Session key name used when saving the assertion (optional)
         Value is either a binary or an atom

Configuration Example

config :samly, Samly.State,
  store: Samly.State.Session,
  opts: [key: :my_assertion]