Skip to content

Cannot check if an unsubmitted form is valid. Call Form::isSubmitted() before Form::isValid() #581

@scootstah

Description

@scootstah

Symfony FOSOAuthServerBundle versions:
friendsofsymfony/oauth-server-bundle 1.6.1

Description of the problem including expected versus actual behavior:
A LogicException is thrown for POST requests to /oauth/v2/auth, with the message:
Cannot check if an unsubmitted form is valid. Call Form::isSubmitted() before Form::isValid()

Steps to reproduce:

  1. Submit POST request to /oauth/v2/auth

Provide logs (if relevant):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions