Nodeschool Public Materials

    jsreport-keycloak-auth

    0.0.6 • Public • Published

    jsreport-keycloak-auth

    install

    npm i jsreport-keycloak-auth

    configuration

    "extensions"{
        "authentication":{
            "enabled": false
        },
        "authorization": {
            "enabled": false
        },
        "keycloak-auth" : {
            "session": {
                "secret": "wgdkçà+&é*ù:djgixc_"
            },
            "api-config": {
                "role": "myclient-api:manage",
                "realm": "master",
                "bearer-only": true,
                "auth-server-url": "http://kc/auth",
                "ssl-required": "external",
                "resource": "myclient-api"
            },
            "client-config": {
                "role": "myclient-api:manage",
                "url": "http://kc/auth/",
                "clientId": "myclient",
                "realm": "master"
            },
            "allowedRoutes": []
        }
    }

    default values

    routes bypass

    [
      'woff',
      'ttf',
      'js',
      'css',
      'png',
      'jpg',
      'gif'
    ]

    extensions bypass

    [
      '/?studio=embed',
      '/css',
      '/img',
      '/js',
      '/lib',
      '/html-templates',
      '/api/recipe',
      '/api/engine',
      '/api/settings',
      '/favicon.ico',
      '/api/extensions',
      '/odata/settings',
      '/auth/config',
      '/api/report'
    ]

    Install

    npm i jsreport-keycloak-auth

    DownloadsWeekly Downloads

    20

    Version

    0.0.6

    License

    MIT

    Unpacked Size

    144 kB

    Total Files

    9

    Last publish

    Collaborators

    • seboutchou