Uncaught TypeError: Cannot read property ‘scopes’ of undefined
I’m not sure if I have the Authentication configured incorrectly, the model service configured incorrectly or if this is a bug. Based on reviewing the code, it appears this might be a bug but I wouldn’t be surprised if it’s a config issue on my end. The sharepoint tutortial doesn’t cover authentication setup and troubleshooting the different layers is difficult without documentation to cover all the possible settings.
The following line of code is where the exception occurs. If I’m reading the code correctly, authenticate is called without passing any parameters therefore b & c are both undefined which results in the exception on “b.scopes”.
r = (c && c.scopes ? c.scopes : b.scopes || "").split(",")
I’ve granted login access and will email support the Org ID.