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

Fix CORS with public pages #36399

Closed
wants to merge 1 commit into from
Closed

Fix CORS with public pages #36399

wants to merge 1 commit into from

Conversation

jotoeri
Copy link
Member

@jotoeri jotoeri commented Jan 27, 2023

Summary

The combination of Annotations CORS and PublicPage on API-Routines currently disables the CORS Login. I assume, this once was a simple fix to disable the authentication necessity on public pages. Since the CORS-Routine now allows to continue, if the CSRFCheck passes, this is not necessary anymore.
-> Like this, PublicPages work by the CSRF-token
-> CORS Requests work by basic auth.

Checklist

Signed-off-by: Jonas Rittershofer <[email protected]>
@jotoeri
Copy link
Member Author

jotoeri commented Jan 27, 2023

\backport to stable25

@jotoeri
Copy link
Member Author

jotoeri commented Jan 27, 2023

Dang, just saw #36396 🙈

@jotoeri jotoeri closed this Jan 27, 2023
@jotoeri jotoeri deleted the fix/cors_public branch February 1, 2023 12:52
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

Successfully merging this pull request may close these issues.

1 participant