@Pieter Heemeryck  We are experiencing the same problem , the api in azure takes like 200 ms . The time it takes the app to load is more than 5 secs.  After checking loading time with developer tools you can see that authenticate method takes like 2-3 secs.   Any idea how it can be optimized @Vesa Juvonen


It's a bit sad that we spend a lot of time in make our systems as fast as possible and later SharePoint is making it slow.  The question is if this authentication is related with SharePoint or azure ad , if  we call an internal api from SharePoint will be faster or will be slow anyways.