Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jwtBody cb_uri is an invalid value. #1

Open
ErikSvedin opened this issue May 6, 2015 · 1 comment
Open

jwtBody cb_uri is an invalid value. #1

ErikSvedin opened this issue May 6, 2015 · 1 comment

Comments

@ErikSvedin
Copy link

I've added api key/secret and app id, and with that managed to get the server going with node server.js. However as soon as I click on the log me in button I get redirected to an error page with the following content:

{"status":400,"code":2002,"message":"jwtBody cb_uri is an invalid value.","developerMessage":"jwtBody cb_uri is an invalid value.","moreInfo":"http://docs.stormpath.com/errors/2002"}

I've tried changing the CB_URI to localhost:9000 (where my grunt serve from the id_src app is running), and adding localhost:9000 to my apps Authorized Redirect URLs. This however results in me being redirected to my hosted apps Url. What is going on here? I'm feeling very lost

@robertjd
Copy link
Owner

robertjd commented May 7, 2015

The URI that you're putting into the Authorized Redirect URLs, does it have a trailing slash on it? That has messed me up a few times

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants