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

Redirect uri error #1

Open
GoNzCiD opened this issue Oct 26, 2019 · 5 comments
Open

Redirect uri error #1

GoNzCiD opened this issue Oct 26, 2019 · 5 comments

Comments

@GoNzCiD
Copy link

GoNzCiD commented Oct 26, 2019

Hi, I've build the docker image and run container.

If I setup environment variable APP_URL to my service url, the method /authorize always return the error:

{
  "message": "Bad Request",
  "errors": [
    {
      "resource": "Application",
      "field": "redirect_uri",
      "code": "invalid"
    }
  ]
}

If not it try to redirect to localhost, and It doesn't work, if I rewrite the url to my correct ip of docker host It shows correctly the expected json result.

@sladkovm
Copy link
Owner

Hi,

the quick cross-check - does the domain of redirect url corresponds to the domain you set in the Strava application settings?

Otherwise, I've fixed some inconsistencies and updated the Readme. Please git pull and let me know whether new instructions helped to solve your problem.

@GoNzCiD
Copy link
Author

GoNzCiD commented Nov 8, 2019

Yes, I set the domain in strava app. I'll try and comment with the new changes.

@akpamaboris
Copy link

@GoNzCiD have you succeeded ?

@GoNzCiD
Copy link
Author

GoNzCiD commented Jun 3, 2021

@zeliwipin it was some time ago, and I can't remember... I was finding the OAuth for a concrete sample, but I don't remember if I use this or other implementations, or any adaptation... sorry :(

@akpamaboris
Copy link

@GoNzCiD : thank you, good news, my team finally succeeded implementing the Oauth system with Strava

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

No branches or pull requests

3 participants