This repository has been archived by the owner on Jan 24, 2019. It is now read-only.
How to support third-party authorization middleware in oauth2 proxy? #612
Open
Description
oauth2 proxy is a web framework which provides OAuth authentication. Is there any way to make it support authorization too? For example via a HTTP plugin? As I know, a lot of web frameworks there (like Beego, Caddy, Gin, Revel) support middleware or plugin.
I ask this because one of my clients wants to secure certain pages via oauth2 proxy: casbin/casbin#103. So is there any recommended way to add something like a HTTP request filter for oauth2 proxy, so I can implement a custom authorization middleware for oauth2 proxy? Thanks.
Metadata
Assignees
Labels
No labels