@glance-project/fence-vue
v0.19.1
Published
library of fence vue components
Readme
fence-vue
Fence components library built with Vue
Documentation
Documentation can be found at https://cern.ch/fence-vue
Bug report
Errors should be reported at JIRA. You can also find there open, in progress and closed issues.
Keycloak authentication
main({ auth: { sso: 'keycloak', clientId, refreshInterval } }) signs the user
in with keycloak-js 24 or later. CERN's Keycloak only puts the nonce claim
in the ID token, and older adapters also expected it in the access and refresh
tokens, which made them discard every login and loop back to the SSO page.
keycloak-js 24+ ships optional chaining, which the webpack 4 parser used by
Vue CLI 4 cannot read. Applications built with Vue CLI 4 must transpile it in
vue.config.js:
module.exports = {
transpileDependencies: ['vuetify', 'keycloak-js'],
};