Closed hussain1368 closed 2 years ago
Hi @hussain1368,
Are you using the ASP.NET Core version or the ASP.NET classic (full framework) version?
Are you able to share your configuration (e.g. Startup.cs
file)?
I've tested this and it appears to be working as expected for me:
maxNonceAgeSeconds
in the demo app from 60 to 120So on the face of it, it appears to be working as intended. Please provide more info to reproduce your issue.
Thanks for your reply.
I am using ASP.NET Core version and I configured maxNonceAgeSeconds
in the Startup.cs
. When I use postman to call my API, if I turn off the "Yes, disable retrying request" it works fine. but when I turn it on and try to send the Nonce and Realm values manually, it does not work and gives me an unauthorized response. Also, when I send post requests with an android app, if the size of the file is too big it again give me unauthorized response, may be because from one request to next the nonce get's expired and the authentication doesn't work
but when I turn it on and try to send the Nonce and Realm values manually, it does not work and gives me an unauthorized response
Also, when I send post requests with an android app, if the size of the file is too big it again give me unauthorized response
Sorry, I'm not really able to help with that.
Closing ticket as working as intended and no response from issue author.
How can I increase Nonce expiration time? I tried increasing
maxNonceAgeSeconds
but no effect was seen