Authenticating a user and redirecting to a Sharepoint document

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

Hi @John123

Please open a support ticket with us at developers@okta.com in order to have one of our Developer Support Engineers assist you in narrowing down the issue.