Skip to content

Authenticated kernel API requests work without setting the authentication code #14571

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

Closed
DD3Boh opened this issue Apr 10, 2025 · 2 comments
Closed
Assignees
Milestone

Comments

@DD3Boh
Copy link
Contributor

DD3Boh commented Apr 10, 2025

In what scenarios do you need this feature?

This feature would be useful to call APIs from other devices when the authentication code hasn't been set.

Describe the optimal solution

The best solution would be to allow API requests from the local network even when the authentication code hasn't been set, since some kind of authentication is required regardless (API Token).

Describe the candidate solution

No response

Other information

I wasn't sure whether to label this as a bug or a feature request, because this just doesn't make sense from my perspective.

Needing an authentication code for the web login on the local network is obviously the best choice, but why would APIs be blocked as well if they require some sort of authentication to respond, like the API token?

@TCOTC
Copy link
Contributor

TCOTC commented Apr 11, 2025

Using 127.0.0.1:6806 should not require an Access authorization code.

@DD3Boh
Copy link
Contributor Author

DD3Boh commented Apr 11, 2025

Using 127.0.0.1:6806 should not require an Access authorization code.

I'm not talking about that, but rather the actual device's IP address when accessed from another device once network serving is enabled.

I don't see any reason why the API wouldn't work without an access code in that case, since the authentication needs the API token

@88250 88250 self-assigned this Apr 11, 2025
@88250 88250 added this to the 3.1.28 milestone Apr 12, 2025
@88250 88250 changed the title Authenticated external API requests should work without an authentication code set Authenticated kernel API requests work without setting the authentication code Apr 12, 2025
88250 added a commit that referenced this issue Apr 12, 2025

Verified

This commit was signed with the committer’s verified signature.
…tication code #14571
@88250 88250 closed this as completed Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants