greenpau / go-authcrunch

AuthCrunch provides Authentication, Authorization, and Accounting (AAA) Security Functions (SF) in Golang
https://authcrunch.com
Apache License 2.0
39 stars 50 forks source link

Ability to provide scopes from the request into the security backends #16

Closed PedroDBFlores closed 2 years ago

PedroDBFlores commented 2 years ago

As mentioned here here, here's the first part of implementing the mentioned feature, so that if the AdditionalScopes flag is enabled in PolicyConfig, Authcrunch will forward the additional scopes provided by the client and append those to the ones already set on the identity provider.

We have on a caddy-security fork the second part ready, which is a flag on Caddyfile which allows for this functionality to be enabled, however we need a new release prior to doing this change since we cannot do a replace in the go.mod file to our fork 😀.

After this is merged and released we will do a pull request for the second part.

greenpau commented 2 years ago

@PedroDBFlores , I will look at it over the weekend. Please sync this branch with main.

greenpau commented 2 years ago

Co-authored-by: Team Griffin team-griffin@vw-dilab.com

@PedroDBFlores , this needs CLA.