Hi @hitesh.khatri,
It looks like the state
parameter was not passed in the login request. This is also justified by the response URL: http://localhost:3000/api/auth/callback?code=tCpAwy1x5umkry1TQ_IQMq9-wiDuwIToM8Lq0e23FdHAI&state=eyJyZXR1cm5UbyI6Imh0dHA6Ly9sb2NhbGhvc3Q6MzAwMCJ9
You should expect something like the following when passing the state
parameter in the /authorize
request:
http://localhost:3000/api/auth/callback?code=tCpAwy1x5umkry1TQ_IQMq9-wiDuwIToM8Lq0e23FdHAI&state=eyJyZXR1cm5UbyI6Imh0dHA6Ly9sb2NhbGhvc3Q6MzAwMCJ9&state=yourState
Thanks,
Rueben