Not able to do a callback to a php file on the server using auth0 cordova

I am developing a hybrid app using cordova. The authentication is done using third party called Auth0. For the web i can easily use the call back to redirect after login, but in the android i cannot redirect to a php file on my server. How do i send the callback to a php file for the android after login?