handnot2 / samly

Elixir Plug library to enable SAML 2.0 SP SSO in Phoenix/Plug applications.
MIT License
125 stars 90 forks source link

Support for HTTP redirects when sending requests to IdP #3

Closed handnot2 closed 6 years ago

handnot2 commented 6 years ago

Currently Samly uses HTTP POST when sending requests to IdP. Support a config parameter to use HTTP redirect instead of POST.

config :samly, Samly.Provider,
  use_redirect_for_idp_req: true

This should be an optional parameter. When not present or when not set to true, Samly should use HTTP POST.