How to handle replay attacks in SSO using SAML ?

0
Hi Team, Can anyone help me to code "nonce" for my SAML SSO implementation ? This way I want to avoid the replay attacks ? Thanks.
 
asked 6/2/2021 10:06:42 AM
add a comment

1 Answers

0
Hi pjoshi, In order to avoid replay attacks, you can store the ID of the SAML messages already processed, to avoid processing them twice. Since the Messages expires and will be invalidated due that fact, you don't need to store those IDs longer than the time frame that you currently accepting.
 
answered 6/30/2021 8:39:56 PM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged saml asp.net mvc or ask your own question.