Handle SSO callback ASP.NET MVC

We want to do authentication in our existing ASP.NET project with the SSO feature.

I have looked at this git repo that contains sample code for authentication with the SSO page, but I want to handle the callback by myself without the SDK will automatically set the cookies and claims, is it possible?

If the .NET SDK does not support writing custom callback methodology, is there any way to do that with the REST API?

The docs that best explain what I’m trying to accomplish is the following docs, but it only describe a concept and not how-to:


Thanks in advance