[keycloak-user] How to import keycloak-authz from keycloak-js npm package in TypeScript?

Marcel Német Marcel.Nemet at gmail.com
Thu Mar 22 04:07:25 EDT 2018


I can easily import Keycloak.d.ts from keycloak-js npm module using

import * as Keycloak from 'keycloak-js';

but I am failing to import the keycloak-authz.d.ts file and
the KeycloakAuthorization which is defined inside it.

I wonder if anybody knows how to do it or did it previously. Not sure
whether keycloak-authz is made available at the npm package level.

A loosely related issue I found online is:
https://issues.jboss.org/browse/KEYCLOAK-4822

-- 
Marcel Német
marcel.nemet at gmail.com
0795153648


More information about the keycloak-user mailing list