镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

GET method not allowed on /saml2/acs/ #356

Open

Description

@jastorquia

With our latest production deployment with django upgrade we are now seeing errors requests coming in to /saml2/acs/ using the GET method are no longer being allowed. Is there a way to configure the AssertionConsumerServiceView to allow GET? While we understand that calls should be coming in to post() only, it appears that at least some IDPs are making GET calls and this stopped working. Any assistance would be very much appreciated. Thanks.

Activity

  1. peppelinux commented on Oct 26, 2022

    @peppelinux
    Member

    Hi, you should have to inherit this class and create the get method
    https://github.com/IdentityPython/djangosaml2/blob/master/djangosaml2/views.py#L440

    to assure a good security by default in djangosaml2 we don't implement the get method for ACS endpoint, you can define it by yourself and if you have any question you're welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions