JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q34586F
  • License MIT

Keycloak authentication provider for AdonisJS

Package Exports

  • @dedel.alex/ally-keycloak
  • @dedel.alex/ally-keycloak/build/providers/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@dedel.alex/ally-keycloak) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Install Keycloak in Adonis

  • Run node ace configure <package-name>. The configure command needs the package name and not the package path.

  • Inform typescript about your driver by defining a mapping inside the contracts/ally.ts file.

    import { KeycloakConfig, Keycloak } from 'ally-custom-driver/build/standalone'
    
    interface SocialProviders {
      keycloak: {
        config: KeycloakConfig
        implementation: Keycloak
      }
    }
  • Define the config inside the config/ally.ts file.

Github project

https://github.com/aDedel/adonis-ally-keycloak