Support Custom Authentication in auth.initialize()
#21
Labels
🤖 aspect: dx
Concerns developers' experience with the codebase
⭐ goal: addition
Addition of new feature
🟨 priority: medium
Not blocking but should be fixed soon
🚦 status: awaiting triage
Has not been triaged & therefore, not ready for work
Description:
Currently, Pylon's
auth.initialize()
method is tightly integrated with ZITADEL for authentication, which is effective for OIDC standards but limits flexibility for projects that may require custom authentication methods. It would be beneficial to support Hono Basic Auth, Hono Bearer Auth, and Hono/OIDC Auth to accommodate a wider range of use cases.Proposed Enhancement:
I propose that we enhance the
auth.initialize()
method to support custom authentication strategies, specifically:This enhancement will allow developers to implement their preferred authentication strategies based on their specific requirements.
Benefits:
Additional Notes:
This feature could be designed to coexist with the existing ZITADEL integration, allowing developers the option to choose between built-in methods or custom implementations.
Related Documentation:
The text was updated successfully, but these errors were encountered: