@medusajs/auth-keycloak (0.0.3)

Published 2026-03-25 06:39:19 +00:00 by piyush

Installation

@medusajs:registry=
npm install @medusajs/auth-keycloak@0.0.3
"@medusajs/auth-keycloak": "0.0.3"

About this package

Testing

In order to manually test the flow, you can do the following:

  1. Register an app in https://console.cloud.google.com/apis/credentials/consent
  2. Generate clientId and clientSecret credentials in the console
  3. Replace the values in the test with your credentials
  4. Remove the server.listen() call
  5. Run the tests, get the location value from the authenticate test, open the browser
  6. Once redirected, copy the code param from the URL, and add it in one of the callback success tests
  7. Once you run the tests, you should get back an access token, id token, and so on.

Dependencies

Dependencies

ID Version
jsonwebtoken ^9.0.2

Development dependencies

ID Version
@medusajs/framework 0.0.3
@swc/core ^1.7.28
@swc/jest ^0.2.36
jest ^29.7.0
msw ^2.3.0
rimraf ^5.0.5
typescript ^5.6.2

Peer dependencies

ID Version
@medusajs/framework 0.0.3

Keywords

medusa-provider medusa-provider-auth-keycloak
Details
npm
2026-03-25 06:39:19 +00:00
4
Medusa
MIT
dev
20 KiB
Assets (1)
Versions (2) View all
0.0.3 2026-03-25
0.0.2 2026-02-09