auth0-samples / auth0-ionic2-samples

MIT License
28 stars 56 forks source link

The redirect_uri parameter is not valid #39

Open tbishopzendoks opened 6 years ago

tbishopzendoks commented 6 years ago

Receiving this error in Auth0 log after following your guide. Any suggestions?

The redirect_uri parameter is not valid: "zendoks.app.mobile%3A%2F%2Fzendoks.auth0.com%2Fcordova%2Fzendoks.app.mobile%2Fcallback" If url looks fine, check that you are not including non printable chars

kmaida commented 6 years ago

You've installed cordova-plugin-customurlscheme and set variables using your package ID and Auth0 domain accordingly? Also, your config in the AuthService is:

callbackURL: location.href

BTW: this Quick Start example is currently in the process of being rewritten in Ionic 3, and the newer version will be published shortly.

ankit-ilogix commented 6 years ago

@kmaida Can you please give me date of publish of new version of Auth0 quick start in ionic 3. I have getting below error. "response state does not match expected state"

gabedeko commented 6 years ago

Do we have a timeline for when the updated quick start will be published for Ionic 3?

kmaida commented 6 years ago

@ankit-ilogix @gabedeko I don't have a confirmed publish date yet, only that it should be ready in the next few weeks. I can, however, point you to the sample repo that implements Ionic 3 with auth0-cordova--but with the caveat that it's not finalized. It does work as-is, but the sample may change again before the QS is published, so use it at your own risk! https://github.com/kmaida/auth0-ionic3-samples

Also, if you find any issues with it, please feel free to add them / submit PRs to that repo.

gabedeko commented 6 years ago

Thanks! I'll be anticipating it being published.

radhanpuraankit commented 6 years ago

Thank you so much @kmaida