One more question, so I moved forward and using the 2nd method given here, I tried to fetch the Auth Code and refresh token using the auth request, I was redirected to https://sandboxcernerhealth.com/login.
For this, I passed on the credentials which I have registered on https://sandboxcernercentral.com/