<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00008i2xd5CAAOkta Classic EngineAuthenticationAnswered2023-01-28T00:54:35.000Z2023-01-26T14:14:27.000Z2023-01-28T00:54:35.000Z
Send Emails using office365 From a third application using Okta jwt token

Hello,

 

We have an inhouse single page application with uses okta kpce flow for user authentication. This application needs to connect to our Office365 Server (We use okta for authentication there as well when we are logging from the web interface) to send some emails to external addresses. Our spa application uses advanced authentication to connect with O365 using locally stored credentials in order to get the security token and send the necessary mails. Can we use directly the token we got from okta in order to remove the second authentication process, since okta and o365 are already linked?

 


  • Paul S. (Okta, Inc.)

    Hello @User16747278415365934146 (Customer)​ Thank you for reacting out to our Community!

     

    I have looked for a resolution on this matter but there does not seem to be an out of the box solution. I would believe that this is because Office365 is using WS-Fed for authentication and it does not utilise a token for authentication. I have also seen a similar ask on the developer forum but with no resolution as of yet.

    My advice would be to leverage the Okta Developer forums and take advantage of their expertise, and maybe they will be able to point you in the right direction or towards a resolution.

    https://devforum.okta.com/

     

    The Okta Community Catalysts Program is now live. Collect online badges when you participate in the Okta Help Center Questions community. Learn more here.

    Community members help others by clicking Upvote or Select as Best on responses. Try it today.

    Expand Post
    Selected as Best
  • Paul S. (Okta, Inc.)

    Hello @User16747278415365934146 (Customer)​ Thank you for reacting out to our Community!

     

    I have looked for a resolution on this matter but there does not seem to be an out of the box solution. I would believe that this is because Office365 is using WS-Fed for authentication and it does not utilise a token for authentication. I have also seen a similar ask on the developer forum but with no resolution as of yet.

    My advice would be to leverage the Okta Developer forums and take advantage of their expertise, and maybe they will be able to point you in the right direction or towards a resolution.

    https://devforum.okta.com/

     

    The Okta Community Catalysts Program is now live. Collect online badges when you participate in the Okta Help Center Questions community. Learn more here.

    Community members help others by clicking Upvote or Select as Best on responses. Try it today.

    Expand Post
    Selected as Best
This question is closed.
Loading
Send Emails using office365 From a third application using Okta jwt token