The problem is that the first page must be in my domain, redirecting to the Microsoft Endpoint.
authenticator.authenticate() doesn't do that and isn't really helping. Would be good to enhance it with custom endpoints allowing the add-in domain itself.
Initially raised in https://github.com/OfficeDev/office-js/issues/132#issuecomment-389228887
The problem is that the first page must be in my domain, redirecting to the Microsoft Endpoint.
authenticator.authenticate()
doesn't do that and isn't really helping. Would be good to enhance it with custom endpoints allowing the add-in domain itself.