OfficeDev / office-js-helpers

[ARCHIVED] A collection of helpers to simplify development of Office Add-ins & Microsoft Teams Tabs
MIT License
126 stars 56 forks source link

Allow a custom endpoint/URL for the authenticate function #89

Open binarykitchen opened 6 years ago

binarykitchen commented 6 years ago

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.