Skip to content

Feature/api create license 2 #190

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

Merged
merged 3 commits into from
Jul 25, 2025
Merged

Feature/api create license 2 #190

merged 3 commits into from
Jul 25, 2025

Conversation

SRWieZ
Copy link
Member

@SRWieZ SRWieZ commented Jul 25, 2025

This pull request refactors the API key management system from user-based to a centralized configuration-based approach.

  • Removed PersonalAccessTokenResource and related classes
  • Introduced AuthenticateApiKey middleware for centralized API key authentication
  • Updated config/services.php with new bifrost configuration to include BIFROST_API_KEY

New auth system:

  • Registered auth.api_key middleware in app/Http/Kernel.php
  • Updated routes/api.php to secure /licenses route with new middleware
  • Refactored tests to use centralized API key configuration

@simonhamp simonhamp merged commit da19b64 into main Jul 25, 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.

2 participants