Oauth2 is working fine.But some time its shows error like.
Bad Request (#400)
Invalid auth state parameter.