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

Add support for using Local UniFi Api Keys #85

Merged
merged 11 commits into from
Jan 10, 2025
Merged

Add support for using Local UniFi Api Keys #85

merged 11 commits into from
Jan 10, 2025

Conversation

kashalls
Copy link
Owner

@kashalls kashalls commented Jan 10, 2025

Closes #84

Adds support and prioritizes using X-API-KEY in requests instead of using CSRF tokens + cookies.

If testing well, username & password functionality may be phased out, but is unlikely to if users want a separate user to show up in logs as making dns changes.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
internal/unifi/client.go Outdated Show resolved Hide resolved
@kashalls kashalls merged commit d8a3c53 into main Jan 10, 2025
2 checks passed
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.

Add support for X-API-KEY header
2 participants