-
-
Notifications
You must be signed in to change notification settings - Fork 310
Labels
enhancementNew feature or requestNew feature or request
Description
This feature request proposes the implementation of authentication capabilities for sub-routers in the Robyn web framework.
- While Robyn currently supports middleware for handling authentication at the main router level, there is a growing need for more granular control, specifically at the sub-router level.
- This would allow different authentication strategies for different sections of an application, enhancing security and flexibility.
Currently Adding
frontend = SubRouter(__name__, prefix="/frontend")frontend = SubRouter(__name__, prefix="/frontend",auth_required=True)Use Case
Sub-router authentication simplifies the process of defining authentication strategies for private routes in a web application with public and private sections.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request