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

Added status API to api-local route. #2109

Closed
wants to merge 1 commit into from

Conversation

Daniel-KM
Copy link
Contributor

@Daniel-KM Daniel-KM commented Nov 1, 2023

Is there a reason why api-local has no __API__?

@zerocrates
Copy link
Member

zerocrates commented Dec 11, 2023

The __API__ key is how the flip over to API key-based auth gets triggered. So if it gets set for api-local, it won't use the logged-in user's credentials as expected.

We can have an __API_LOCAL__ key or something like that and have isApiRequest in status also return true if that's set; I assume that status method is the issue here for you?

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