Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Saml2 Response found in the http request. #1431

Closed
acad96 opened this issue Jan 24, 2024 · 6 comments
Closed

No Saml2 Response found in the http request. #1431

acad96 opened this issue Jan 24, 2024 · 6 comments

Comments

@acad96
Copy link

acad96 commented Jan 24, 2024

Hi, currently I'm doing a .Net core project with sustainsys. The user has already successfully login in Microsoft Entra ID but when want to redirect to my website it shows this error. Do you know why?

This is my Acs function

    public IActionResult Acs()
    {
        return Redirect("~/Account/saml");
    }
@AndersAbel
Copy link
Member

You should not create your own Acs function. The Saml2/Acs endpoint is handled by the library. Look at one of the samples to see how it should work.

@acad96
Copy link
Author

acad96 commented Jan 24, 2024

I see, because without that function it shows error 500 as if it doesn't go to the login function that check the user info. Which sample should I see how it should work?

@AndersAbel
Copy link
Member

@acad96
Copy link
Author

acad96 commented Jan 29, 2024

But how to configure the library to redirect to my login function for user-checking

@AndersAbel
Copy link
Member

This issue tracker works best for questions about specific functions/configurations. If you need assistance with designing the overall flow of your application I can offer that as commercial consulting services. Please reach out to support@sustainsys.com for more information.

@AndersAbel
Copy link
Member

Closing due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants