Comments (4)
Hi,
can seatsurfing-backend really access "http://localhost:8081/realms/bob/protocol/openid-connect/token"?
Looks on misconfigured keyclock, check https://keycloak.xxx.tld/auth/realms/bob/.well-known/openid-configuration
At "token_endpoint" you should read the tokenurl. That endpoint must be reachable for seatsurfing backend (container).
from backend.
@fashberg thank you for looking into it. Actually, the redirect to keycloack works fine and I am able to authenticate:
Doesn't mean the the token_url is reachable from the backend container?
seat surfing containers and keycloack are running in the same host with different ports.
For information, the configuration link is now (keycloack 22.0.4) at https://keycloak.xxx.tld/realms/bob/.well-known/openid-configuration and not at
https://keycloak.xxx.tld/auth/realms/bob/.well-known/openid-configuration --> no /auth/
Does it bring something if changing this line:
[Update]
Modifying the previous line I now see a blank page, I believe the correct redirectUrl is missing somewhere.
from backend.
You've wrote "I am using docker compose to test seatsurfing".
Imho: seatsurfing runs in its own container and each container has its own localhost. Docker basics.
From seatsurfing container you have to be able to reach keycloak container.
OpenId requires users (browsers) and app-server (seatsurfing) to talk to openid server. Backend has to access the token.
from backend.
Same issue now backend and keycloack in different machines and different hostnames (not running on localhost) with token endpoint accessible from backend container.
Login successful, redirect -> blank page.
The url looks like this:
from backend.
Related Issues (20)
- Integration of Authentication provider not possible HOT 3
- MS ADFS compatibility
- Issue with web interface root, subpath works HOT 2
- Problem with setup HOT 1
- Language redirection not working HOT 1
- [Docker] Consider publishing docker images to a registry without rate-limiting HOT 2
- Backend not forwarding properly after upgrade to 1.14.x/1.15.x HOT 4
- Azure auth - Possibly your account is not activated in this organization. HOT 2
- Translation To Spanish HOT 1
- Feature: Booking Approvals
- Seatsurfing forgets the language when you pass reservations to the administration
- 405 when trying to create users using the API, maybe CORS related HOT 1
- Feature: Admin can book all desks without limitation HOT 2
- Can additional information such as phone numbers and network port numbers be displayed for each seat?
- Problem with "Umlauts" in mail subject
- Booking title/label HOT 1
- Can we add Chinese language support?
- 404 on first admin email entry HOT 1
- Booking a "seat" for a dog
- Set a space as not being able to be booked
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 backend.