Skip to content
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

Support Custom Authentication in auth.initialize() #21

Open
schettn opened this issue Sep 24, 2024 · 0 comments
Open

Support Custom Authentication in auth.initialize() #21

schettn opened this issue Sep 24, 2024 · 0 comments
Assignees
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

Comments

@schettn
Copy link
Contributor

schettn commented Sep 24, 2024

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:

  • Hono Basic Auth
  • Hono Bearer Auth
  • Hono/OIDC Auth

This enhancement will allow developers to implement their preferred authentication strategies based on their specific requirements.

Benefits:

  • Flexibility: Enables developers to choose the authentication methods that best fit their application's needs.
  • Integration: Facilitates easier integration with existing systems that utilize different authentication mechanisms.
  • Customization: Provides the ability to handle diverse authentication flows required by various applications.

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:

  • Reference to current authentication setup in the Pylon documentation.
  • Examples of use cases for custom authentication.
@schettn schettn added 🟨 priority: medium Not blocking but should be fixed soon 🚦 status: awaiting triage Has not been triaged & therefore, not ready for work ⭐ goal: addition Addition of new feature 🤖 aspect: dx Concerns developers' experience with the codebase labels Sep 24, 2024
@schettn schettn self-assigned this Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant