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: Authentication issue with stage workaround #32

Closed
wants to merge 1 commit into from
Closed

FIX: Authentication issue with stage workaround #32

wants to merge 1 commit into from

Conversation

zanderwar
Copy link
Contributor

When fetching from ?stage=Stage which, would obviously be ideal as anyone would like to know how it scores before it's published... we're presented with an authentication issue that is only logged in users are able to see ?stage=Stage whereas file_get_contents() doesn't allow that.

Moving forward, maybe we could tokenize an authenticated request using HTTPMiddleware and pass it along with the file_get_contents call.

Currently, with this; the "new page" bug is fixed; but will still display "Login" in the preview until the page is published.

@oddnoc oddnoc deleted the branch Quinn-Interactive:master October 8, 2021 21:16
@oddnoc oddnoc closed this Oct 8, 2021
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.

2 participants