Open brianbier opened 6 years ago
@brianbier I am having the same message, have you been able to solve this issue ?
@sharkyze No unfortunately.
Can Typeform give some additional clues to resolving this issue? :(
Oh right, when you create your application, you need to pass http://localhost:5000/callback as the callback uri. The suggestion is to pass http://localhost:5000/authorize, but in the express app the endpoint is callback.
I am facing this issue. I am using ngrok as redirect url.
My url look like this,
https://api.typeform.com/oauth/authorize?client_id={CLIENT_ID}&redirect_uri=https://e324asd.ngrok.io/oauth/typeform&scope=accounts:read
Any idea?
@isabellachen Could you please help me on this?
@muhzi4u
Go to admin section:
https://admin.typeform.com/account#/section/apps
Under applications, Authorization callback URL should be http://localhost:PORT/callback
where PORT is the port your server is running on, in my prev comment, mine was on 5000. When you use ngrok, you ngrok that port so ngrok has access to your local server running on that port. When your app goes into production, you change from localhost to whatever your domain name is.
At least this worked for me...
https://imgur.com/gnKLh0u
What about redirect_uri in my example, https://e324asd.ngrok.io/oauth/typeform
or http://localhost:PORT/callback
?
Yes. It is working now.
Complete URL is
https://api.typeform.com/oauth/authorize?response_type=code&redirect_uri=http://localhost:4040/callback&scope=accounts:read&client_id={CLIENT_ID}
@isabellachen Thank you so much
@isabellachen Is there any way to update the Authorization callback URL for an already created app?
If there was, I didn't figure it out...
On Tue, 25 Sep 2018 at 17:27, Muhsin.K notifications@github.com wrote:
@isabellachen https://github.com/isabellachen Is there any way to update the Authorization callback URL for an already created app?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Typeform/results-example/issues/7#issuecomment-424387225, or mute the thread https://github.com/notifications/unsubscribe-auth/AI2cmXrcjfWJxETnQIMQMo2suma3qCFwks5uektegaJpZM4Rbxyk .
This is what worked for me
and for the callback url is http://localhost:{port you are runnin}/callback
{ code: "FORBIDDEN", description: "Forbidden: redirect_uri is not allowed", }
I keep getting this error but I followed the instructions exactly. I am not sure why its happening. my application url .env is http://localhost:5000/