ilmimris / apollofederation-keycloak-demo Goto Github PK
View Code? Open in Web Editor NEWDemo of Apollo Federation with Keycloak as identity and access management
License: MIT License
Demo of Apollo Federation with Keycloak as identity and access management
License: MIT License
Hi,
Apollo Federation & Keycloack infos are sparse, so thanks for this repo ! ๐
I keep on getting stuck trying to access Playground
I am logging to the realm signin form after a successful redirect from computer1:4000/playground, but i am getting a 'Access Denied'
Logs at the gateway :
Could not obtain grant code: Error: Grant validation failed. Reason: invalid token (wrong audience)
My settings (computer1 being localhost, but i am using an internal domain name)
I did follow your blog (waiting for part 3 and 4), the posts you did on keycloack-graphql-connect github and went through the code on you repo.
Client Settings
- Access Type : Confidential
- Standard Flow ON
- Implicit Flow ON
- Direct Access Grant ON
- Service Account ON
- Authorization ON
Root URL : http://computer1:4000
Valid Redirect URL : *
Base URL : /graphql
Admin URL : empty
Web Origins : *
OIDC Json
{
"realm": "app",
"auth-server-url": "http://othermachine:8180/auth",
"ssl-required": "external",
"resource": "gateway",
"verify-token-audience": true,
"credentials": {
"secret": "SECRET"
},
"use-resource-role-mappings": true,
"confidential-port": 0,
"policy-enforcer": {}
}
i tried with a simple git clone for you repo
I didn't succeed to launch the docker-compose or to import the realm-export.json.
Reading through the realm-export, i created manually the Realm/Client/ClientScope/Roles.
All services are independently fine, but the gateway stills throws an access denied after authentification
I tried your repo (https://github.com/ilmimris/keycloack-apollo-explore.git), works lit a charm with my settings (Keycloack server on 8180)
Do you have some hints for the access denied / wrong audience?
Thks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.