0

I'm trying to implement a custom endpoint for using in our Outlook add-in. I'm following this article.

Does anyone know how to implement this correctly? I have this code but it does not work (yet). What do I need to fill in inside 'clientId'?

    authenticator.endpoints.add('Okta', {
        provider: "Okta",
        clientId: "",
        baseUrl: "https://<customdomain>.okta-emea.com/oauth2/v1/",
        authorizeUrl: "authorize"            
    });
Ferry Kranenburg
  • 2,625
  • 1
  • 17
  • 23
  • To use Oauth authentication,app must be registered in the Application Registration Portal. After registering your app, you will get ClientId. Please refer this for more details- https://learn.microsoft.com/en-us/outlook/rest/get-started#registering-an-app – Outlook Add-ins Team - MSFT Apr 16 '19 at 16:23
  • Thanks, I'm trying to login the user in to an application that is behind Okta (with SAML 2.0). The add-in needs to access it. I was trying to setup the authentication flow for this using the Office-js-helpers. – Ferry Kranenburg Apr 17 '19 at 10:45
  • Please refer Okta documentation to get ClientId. This may help- [https://devforum.okta.com/t/where-is-the-client-id-information/4211](https://devforum.okta.com/t/where-is-the-client-id-information/4211) – Outlook Add-ins Team - MSFT Apr 19 '19 at 04:32

0 Answers0