Comments (9)
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...
from examples-archive.
I can reproduce this.
from examples-archive.
Hm...the CLI works fine hydra token user --client-id example-auth-code --client-secret secret --endpoint http://localhost:4444 --port 5555
, not sure what's going on here...
from examples-archive.
Actually, I think this might have to do with how the browser handles cookies...are you in incognito mode or something?
from examples-archive.
I found the issue, if you call http://127.0.0.1:4477
it redirects you to localhost
which then causes the cookies to fail because the host does not have the cookies. If you call http://localhost:4477/
then it works.
from examples-archive.
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
from examples-archive.
Yup, you need to open http://localhost:4477
, not http://127.0.0.1:4477
from examples-archive.
It fixed it. Thanks!
from examples-archive.
Nice :)
from examples-archive.
Related Issues (16)
- Remove `-preview` images once 1.0.0 lands on docker hub HOT 1
- Add OAuth2 consumer and Resource Provider to examples HOT 1
- Oathkeeper api error
- secure backend with Token Introspection is not working HOT 2
- Typo in full-stack example
- start-full-stack does not bootstrap properly on Windows 10 (CR/LF issue) HOT 1
- Full Stack example: Cannot read property βmatchβ of undefined HOT 3
- Secure backend with ORY Oathkeeper is not working HOT 1
- hydra.exe error while loading shared libraries ( hydra from src at win32 ) HOT 8
- Update Full Stack Example - Version Ory OS.10 HOT 4
- Link is broken HOT 1
- Update example to rc.8 of hydra
- hydra-migrate: unknown migration in database
- Authorize application: 500 Internal server error
- Fullstack example is out of date and fails HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from examples-archive.