Skip to content

feat: Select allowed Auth Methods#207

Merged
CodeShellDev merged 2 commits intov1.5.0from
feat/opt-out-and-in-to-auth-methods
Jan 23, 2026
Merged

feat: Select allowed Auth Methods#207
CodeShellDev merged 2 commits intov1.5.0from
feat/opt-out-and-in-to-auth-methods

Conversation

@CodeShellDev
Copy link
Owner

@CodeShellDev CodeShellDev commented Jan 23, 2026

Summary

Adds / fixes #201.

This PR brings api.auth and methods as well as tokens (granular control).
It uses methods as default allowed methods, this also affects api.tokens and applies method allowlist per token in api.auth.tokens ({ set: [token1,token2], methods: [basic] }).

Changes

  • added api.auth (api.auth.tokens, api.auth.methods)
  • added Body, Bearer and Basic to defaults(-.yml)
  • cleaned up in auth.go middleware
  • fixed old .loglevel in defaults.yml

Checklist

  • PR tested
  • Docs updated (if applicable)

Related

@CodeShellDev CodeShellDev merged commit 76cc75f into v1.5.0 Jan 23, 2026
@CodeShellDev CodeShellDev linked an issue Jan 23, 2026 that may be closed by this pull request
@CodeShellDev CodeShellDev deleted the feat/opt-out-and-in-to-auth-methods branch January 23, 2026 20:40
This was referenced Jan 25, 2026
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.

Opt in and out of auth methods

1 participant