I'm currently using the community AzureSSO package to enable login via an Azure AD and am wanting to add additional functionality into the back office for only the users who logged in via the Azure SSO. Local sign-in is still allowed.
I've explored the authResource, leading into the currentUser object and explored the Azure package source but can't find any variable that gets set that I can hook into with my Angular script. I did find that users who went through Azure had a new cookie called ARRAffinity but it's HttpOnly so can't access that in my Javascript.
Does anyone know a way I can achieve this please? I'm using Umbraco 13.
Package link: https://github.com/Gibe/Umbraco.Community.AzureSSO