Skip to content
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
hsluoyz opened this issue Jun 3, 2018 · 1 comment
Open

Comments

@hsluoyz
Copy link

hsluoyz commented Jun 3, 2018

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.

@hsluoyz
Copy link
Author

hsluoyz commented Dec 8, 2018

@jehiah @mbland any response?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant