Commit d29cf792 authored by jblemee's avatar jblemee

fix: call getUser() on WebComponentsReady

parent d35b24ec
*.iml
\ No newline at end of file
......@@ -57,7 +57,7 @@ sib.oidc._getUser = function() {
sib.oidc._connect = function(settings) {
sib.oidc._setup(settings);
sib.oidc._getUser();
window.addEventListener('WebComponentsReady', () => sib.oidc._getUser());
// When user loaded...
sib.oidc._manager.events.addUserLoaded(function(user) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment