Latch. Error. SecurityViolation exception
(latch v0.5.0)
Copy Markdown
An integrity check required by the atproto OAuth spec failed. A caller must not treat the user as logged in when one of these is returned.
reason values
:state_mismatch- the callbackstatedoes not match the in-flight request:issuer_mismatch- the callbackissdoes not match the discovered issuer:did_mismatch- the token responsesubdoes not match resolved DID
Summary
Types
@type t() :: %Latch.Error.SecurityViolation{ __exception__: term(), reason: :state_mismatch | :issuer_mismatch | :did_mismatch }