Hi @Mridul Kapil ,
Thanks for reaching out.
The error you are getting is due to the "authorization code" to exchange the access token has been used once or expired. Authorization codes are short lived. Typically, they expire after about 10 minutes and can be used once only to redeem the accesss token.
Did you try with fresh "authorize code" to authenticate the user?
Hope this will help.
Thanks,
Shweta
Please remember to "Accept Answer" if answer helped you.