-
-
Notifications
You must be signed in to change notification settings - Fork 14
Support Custom Authentication in auth.initialize() #21
Copy link
Copy link
Open
Labels
⭐ goal: additionAddition of new featureAddition of new feature🚦 status: awaiting triageHas not been triaged & therefore, not ready for workHas not been triaged & therefore, not ready for work🟨 priority: mediumNot blocking but should be fixed soonNot blocking but should be fixed soon🤖 aspect: dxConcerns developers' experience with the codebaseConcerns developers' experience with the codebase
Metadata
Metadata
Assignees
Labels
⭐ goal: additionAddition of new featureAddition of new feature🚦 status: awaiting triageHas not been triaged & therefore, not ready for workHas not been triaged & therefore, not ready for work🟨 priority: mediumNot blocking but should be fixed soonNot blocking but should be fixed soon🤖 aspect: dxConcerns developers' experience with the codebaseConcerns developers' experience with the codebase
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: