Closed parker-codes closed 6 months ago
No linked issue. Reported in Discord and Romain pointed me in the right place for a PR.
The docs described Basic Auth as one of the options, but the CLI wouldn't accept it.
node ace add @adonisjs/auth --guard=basic_auth
The selected guard "basic_auth" is invalid. Select one from: session, access_tokens
This PR just adds the missing guard to the config list and adds the type in the missing places.
Since many tests are already failing, I couldn't verify that this doesn't break anything.
Thanks 👍
🔗 Linked issue
No linked issue. Reported in Discord and Romain pointed me in the right place for a PR.
❓ Type of change
📚 Description
The docs described Basic Auth as one of the options, but the CLI wouldn't accept it.
This PR just adds the missing guard to the config list and adds the type in the missing places.
Since many tests are already failing, I couldn't verify that this doesn't break anything.
📝 Checklist