-
-
Notifications
You must be signed in to change notification settings - Fork 87
full stack examples return Forbidden on last step #17
Comments
I can reproduce this. |
Oh boy, looks like this is related to PassportJS, my eternal impossible-to-debug enemy. Not sure why passport is killing the request on callback... |
Hm...the CLI works fine |
Actually, I think this might have to do with how the browser handles cookies...are you in incognito mode or something? |
I found the issue, if you call |
I have not used incognito mode. But it was Chrome not safari. Safari was used when hydra started and opened some URL automatically. I am not following you. When I open http://127.0.0.1:4477 it gives just HTML page with link and final error was on http://localhost:4477/auth/callback?code=SBOIQzPSKeMy3GmtzcCOV3H0cTBfRuYzY7zlZlNvPwA.Sm5hL36-kRH2Vq9w1DYfG9BYLdkFM5UwVEW5GViAI60&scope=offline%20openid%20articles.read&state=Z2VgU7vQAmSTIsBSsGI7DrV9 |
Yup, you need to open |
Closes #17 Signed-off-by: arekkas <aeneas@ory.am>
It fixed it. Thanks! |
Nice :) |
Closes #17 Signed-off-by: arekkas <aeneas@ory.am>
I did
Following curls worked without errors by returning some JSON
opens safari and every works fine to end page with introspection
But when I open http://127.0.0.1:4477 there are 4 example links. First 3 links fail in same way.
They ask for login then they ask for consent and then they print "Forbidden"
URL looks like http://localhost:4477/auth/callback?code=SBOIQzPSKeMy3GmtzcCOV3H0cTBfRuYzY7zlZlNvPwA.Sm5hL36-kRH2Vq9w1DYfG9BYLdkFM5UwVEW5GViAI60&scope=offline%20openid%20articles.read&state=Z2VgU7vQAmSTIsBSsGI7DrV9
The text was updated successfully, but these errors were encountered: