-
Notifications
You must be signed in to change notification settings - Fork 68
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
feat(authz-mapping): expose authz mapping endpoint #1006
Conversation
804fc7d
to
4e3db19
Compare
4e3db19
to
925dfa2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the nginx proxy mapping is a little off ...
|
||
set $upstream http://${arborist_release_name}-service.$namespace.svc.cluster.local; | ||
|
||
proxy_pass $upstream/auth/mapping?username=$arg_username; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is $arg_username?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the username
query string for the endpoint--if I leave it out then nginx seems to not pass the query args to arborist
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
related Arborist PR here uc-cdis/arborist#110
related Windmill PR here uc-cdis/data-portal#592
New Features
expose arborist's /auth/mapping endpoint (to GET requests only, and without passing the username query param)