keycloak-connect-graphql
Add Keyloak Authentication and Authorization to your GraphQL server.
File Explorer
Download Latest Version (.zip)- config.yml
- docker-compose.yml
- keycloak.json
- realm-export.json
- common.js
- basic.ts
- tsconfig.json
- advancedAuth.js
- authMiddlewares.js
- basic.js
- resourceBasedAuth.js
- subscriptions.js
- subscriptionsAdvanced.js
- subscriptionsResourceBasedAuth.js
- getToken.js
- initKeycloak.js
- prepareRelease.sh
- publishRelease.sh
- validateRelease.sh
- AuthContextProvider.ts
- index.ts
- KeycloakSubscriptionHandlerOptions.ts
- typeDefs.ts
- directiveResolvers.ts
- index.ts
- schemaDirectiveVisitors.ts
- utils.ts
- index.ts
- KeycloakContext.ts
- KeycloakPermissionsHandler.ts
- KeycloakSubscriptionHandler.ts
- KeycloakTypings.ts
- KeycloakToken.ts
- auth.test.ts
- hasPermission.test.ts
- hasRole.test.ts
- KeycloakContext.test.ts
- KeycloakPermissionsHandler.test.ts
- KeycloakSubscriptionHandler.test.ts
- utils.test.ts
- .gitignore
- .npmignore
- LICENSE
- MAINTAINERS.md
- package.json
- README.md
- renovate.json
- tsconfig.json
- tslint.json
- tslint_tests.json
# Installation Guide
1. Get the code
git clone https://github.com/aerogear/keycloak-connect-graphql
Downloads the entire project code from GitHub to your computer.
cd keycloak-connect-graphql
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install --save keycloak-connect-graphql
Downloads and installs the libraries listed in package.json.
npm install --save graphql keycloak-connect
Downloads and installs the libraries listed in package.json.
npm install --save apollo-server-express
Downloads and installs the libraries listed in package.json.
$ npm run examples:seed
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
