handnot2 / samly

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

Handle the possibility that the RelayState is nil #46

Closed nerdyworm closed 5 years ago

nerdyworm commented 5 years ago

We have a service provider that does not send a RelayState param during the logout flow.

Because it is missing it fails on trying to decode nil:

(FunctionClauseError) no function clause matching in URI.unpercent/3