You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But here we supply the function with the result of get_session(conn, "samly_assertion_key") which will return nil if "samly_assertion_key" key is not set.
I think this happens for the very first login attempt and obviously results in an exception.
The text was updated successfully, but these errors were encountered:
aliaksandr-martsinovich
changed the title
Samly.State.Store.get_assertion can actually get nil instead of assertion_key()
Samly.State.Store.get_assertion can actually get nil instead of assertion_key()
Nov 18, 2019
Samly.State.Store.get_assetion's typespec is
get_assertion(Conn.t(), assertion_key(), opts()) :: Assertion.t() | nil
But here we supply the function with the result of
get_session(conn, "samly_assertion_key")
which will return nil if"samly_assertion_key"
key is not set.I think this happens for the very first login attempt and obviously results in an exception.
The text was updated successfully, but these errors were encountered: