janhapke / hasura-keycloak Goto Github PK
View Code? Open in Web Editor NEWHow to use Hasura with Keycloak
License: MIT License
How to use Hasura with Keycloak
License: MIT License
It took me a while to figure out why my authorization header was not working in Hasura console. I had not uncommented the HASURA_GRAPHQL_JWT_SECRET
in docker-compose.yml.
I think this should automatically be uncommented, or add something to the readme to uncomment it before running docker-compose up
Building the action fails as the package lock is missing and the Dockerfile is using npm ci
. As a temporary fix I replaced ci
with i
.
Could you commit a package-lock.json?
Building keycloak-hasura-action
Sending build context to Docker daemon 7.68kB
Step 1/5 : FROM node:14-alpine
14-alpine: Pulling from library/node
59bf1c3509f3: Pull complete
39aa0d19fbe1: Pull complete
f0b94cdce0f3: Pull complete
664688b94c15: Pull complete
Digest: sha256:9a2aa545388a135b496bd55cef2be920b96c4526c99c140170e05a8de3fce653
Status: Downloaded newer image for node:14-alpine
---> 755b96824e40
Step 2/5 : WORKDIR /app
---> Running in 1eb49837f903
Removing intermediate container 1eb49837f903
---> ca365fe6305e
Step 3/5 : COPY ./* ./
---> 2c391d25d5a0
Step 4/5 : RUN npm ci
---> Running in 276276328d9d
npm ERR! cipm can only install packages with an existing package-lock.json or npm-shrinkwrap.json with lockfileVersion >= 1. Run an install
with npm@5 or later to generate it, then try again.
Hello I have setup a keycloak + hasura connection with the current method but when I am revoking the token using the
auth/realms/master/protocol/openid-connect/revoke
the token is still valid and I can make requests with it to hasura server
I failed to build "docker-compose up" under windows after the last "JWK"-step. Hasura is not communicating with keycloak.
Error fetching JWK: NoResponseDataReceived
"Possible reason for failure:
windows doesn't support docker hosts
Possible solution:
Anyone else having this problem?
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.