@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:
- Register an app in
https://console.cloud.google.com/apis/credentials/consent - Generate clientId and clientSecret credentials in the console
- Replace the values in the test with your credentials
- Remove the
server.listen()call - Run the tests, get the
locationvalue from theauthenticatetest, open the browser - Once redirected, copy the
codeparam from the URL, and add it in one of thecallbacksuccess tests - 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
Assets (1)
Versions (2)
View all
auth-keycloak-0.0.3.tgz
20 KiB