Repository navigation
Authentication error when importing BrowserAnimationsModule #19723
Unanswered
DanielKeravt
asked this question in
Q&A
Replies: 1 comment 1 reply
|
This seems like an issue with either Keycloak Angular, since this is a community project not directly affiliated with the Keycloak project I recommend you try to find an answer there. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
When I import 'BrowserAnimationsModule' into app.module, this error appears in the browser console:
ERROR Error: Uncaught (in promise): Error: An error happened during access validation. Details:TypeError: Cannot read properties of undefined (reading 'resourceAccess')
Error: An error happened during access validation. Details:TypeError: Cannot read properties of undefined (reading 'resourceAccess')
at keycloak-angular.mjs:33:19
at Generator.next ()
at asyncGeneratorStep (asyncToGenerator.js:3:1)
at _next (asyncToGenerator.js:22:1)
at _ZoneDelegate.invoke (zone.js:375:26)
at Object.onInvoke (core.mjs:24260:33)
at _ZoneDelegate.invoke (zone.js:374:52)
at Zone.run (zone.js:134:43)
at zone.js:1278:36
at _ZoneDelegate.invokeTask (zone.js:409:31)
at resolvePromise (zone.js:1214:31)
at resolvePromise (zone.js:1168:17)
at zone.js:1281:17
at _ZoneDelegate.invokeTask (zone.js:409:31)
at core.mjs:23946:55
at AsyncStackTaggingZoneSpec.onInvokeTask (core.mjs:23946:36)
at _ZoneDelegate.invokeTask (zone.js:408:60)
at Object.onInvokeTask (core.mjs:24247:33)
at _ZoneDelegate.invokeTask (zone.js:408:60)
at Zone.runTask (zone.js:178:47)
I am using Angular CLI: 15.2.4, @angular/material": "^15.2.5", Keycloak 18.0.2.
Why does this error appear? Please help
All reactions