feat(openid-connect): Switch to generic OIDC Client library instead of using Keycloak.js (#273)

This commit is contained in:
Erik Ziegler authored and GitHub committed 2018-09-19 14:50:12 +02:00
1 parent 2f05ed5961
commit 18bcf83805
70 files changed
+572 -655

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
Package.describe({
name: 'ohif:user-oidc',
summary: 'OHIF Integration with OpenID Connect',
version: '0.0.1'
});
Npm.depends({
'oidc-client': '1.5.2'
});
Package.onUse(function(api) {
api.versionsFrom('1.6');
api.use('ecmascript', 'client');
// Our custom packages
api.use('ohif:core', 'client');
// Client imports
api.mainModule('client/main.js', 'client');
api.addAssets('public/js/oidc-client.min.js', 'client');
api.addAssets('public/js/silentRefresh.js', 'client');
api.addAssets('public/silent-refresh.html', 'client');
});