I am working with a C# .NET Winforms application (Not ASP.NET/ASP.NET Core) for my company.
Currently, I am using the Okta .NET Authentication SDK to retrieve a session token to authenticate a user and trying to redirect them to a URL pointing to a document which is located within the companies Sharepoint cloud.
I’ve been using a request https://{CompanyOktaDomain}/oauth2/v1/sessionCookieRedirect?token={sessionToken}&redirectUrl={redirectUrl}
, however I am having troubles to get this to work.
Thanks