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

Do Authentication in a Plack middleware #1398

Closed
bschmalhofer opened this issue Nov 11, 2021 · 1 comment
Closed

Do Authentication in a Plack middleware #1398

bschmalhofer opened this issue Nov 11, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request wontimplement This will not be worked on in the foreseeable future.
Milestone

Comments

@bschmalhofer
Copy link
Contributor

Currently authentication is done in the Kernel/System/Web/Interface* modules. IMHO it would make sense to move authentication into a middleware. This would emphasize that authentication and authorisation is a separate step in processing a request.

@bschmalhofer bschmalhofer added the enhancement New feature or request label Nov 11, 2021
@bschmalhofer bschmalhofer added this to the Wishlist milestone Nov 11, 2021
@bschmalhofer bschmalhofer self-assigned this Nov 22, 2021
@bschmalhofer bschmalhofer added the wontimplement This will not be worked on in the foreseeable future. label Nov 22, 2021
@bschmalhofer
Copy link
Contributor Author

A lighter version of this issue is implemented in #1431. That issue allows support of middlewares for specific interfaces, which was, under the hood, also the main goal of this issue.
Moving the authentication and authorisation logic of index.pl and customer.pl also into a middleware provides no immediate benefits. Thus this issue won't be implemented in the foreseeable future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontimplement This will not be worked on in the foreseeable future.
Projects
None yet
Development

No branches or pull requests

1 participant