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

Bad request when Check or Submit (if dotnet >=5) #1

Closed
stamepicmorg opened this issue Sep 22, 2024 · 1 comment · May be fixed by #2
Closed

Bad request when Check or Submit (if dotnet >=5) #1

stamepicmorg opened this issue Sep 22, 2024 · 1 comment · May be fixed by #2
Assignees
Labels
bug Something isn't working

Comments

@stamepicmorg
Copy link
Member

On new dotnet versions - cookie issue.

info: Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.ValidateAntiforgeryTokenAuthorizationFilter[1]
      Antiforgery token validation failed. The required antiforgery cookie ".AspNetCore.Antiforgery.aut98qJoxB0" is not present.
      Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The required antiforgery cookie ".AspNetCore.Antiforgery.aut98qJoxB0" is not present.
         at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.ValidateRequestAsync(HttpContext httpContext)
         at Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.ValidateAntiforgeryTokenAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)
trce: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[53]
      Authorization Filter: After executing OnAuthorizationAsync on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.ValidateAntiforgeryTokenAuthorizationFilter.

and

warn: Microsoft.AspNetCore.Http.ResponseCookies[1]
      The cookie '.AspNetCore.Antiforgery.aut98qJoxB0' has set 'SameSite=None' and must also set 'Secure'.

@stamepicmorg stamepicmorg added the bug Something isn't working label Sep 22, 2024
@stamepicmorg stamepicmorg self-assigned this Sep 22, 2024
stamepicmorg added a commit that referenced this issue Sep 22, 2024
* Updated `Readme`
* Fixed cookie bug
* Added `Jira OAuth` support
* Updated dependencies:
	* `Bootstrap` and `Bootswatch`: `4` to `5` major release
	* `jQuery` minor update to `3.7.1`
	* `fontawesome`: `5` to `6` major release
	* `Atlassian SDK` to `13.0.0` version
@stamepicmorg
Copy link
Member Author

@stamepicmorg stamepicmorg linked a pull request Sep 22, 2024 that will close this issue
stamepicmorg added a commit that referenced this issue Sep 23, 2024
* Updated `Readme`
* Fixed cookie bug
* Added `Jira OAuth` support
* Updated dependencies:
	* `Bootstrap` and `Bootswatch`: `4` to `5` major release
	* `jQuery` minor update to `3.7.1`
	* `fontawesome`: `5` to `6` major release
	* `Atlassian SDK` to `13.0.0` version
* migtateed to bs5 and rebase this commit
stamepicmorg added a commit that referenced this issue Sep 23, 2024
* Updated `Readme`
* Fixed cookie bug
* Added `Jira OAuth` support
* Updated dependencies:
	* `Bootstrap` and `Bootswatch`: `4` to `5` major release
	* `jQuery` minor update to `3.7.1`
	* `fontawesome`: `5` to `6` major release
	* `Atlassian SDK` to `13.0.0` version
* migtateed to bs5 and rebase this commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

1 participant