What are the steps to use cross origin verification page, how does it work?

hi @konrad.sopala

I am using embedded login for my cordova app (which uses webview). Now I am trying to use auth0.js sdk for javascript and I want to redirect to my app after successful login.

I am using custom url scheme plugin to redirect back to my app. My redirect url looks like:
YOUR_PACKAGE_ID://YOUR_DOMAIN/cordova/YOUR_PACKAGE_ID/callback

I was successfully redirected back to my app, but the url obtained as callback was:

YOUR_PACKAGE_ID://YOUR_DOMAIN/cordova/YOUR_PACKAGE_ID/callback?error=server_error&error_description=Unable%20to%20configure%20verification%20page.&state=uKXPhgCtT8icCc.o6jmPCfBSdNCvpOe4

I should have got the authorization code instead. So I put this issue to another post: Unable to configure verification page - #5 by biswas.khayargoli

But I have got no valid answers so far. I think this is because of cross origin issue. So, I want to know how can I use cross origin verification page.