-
Notifications
You must be signed in to change notification settings - Fork 94
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
Rename variable from args to query params for authz endpoint #78
base: main
Are you sure you want to change the base?
Rename variable from args to query params for authz endpoint #78
Conversation
Hi @alanwilkie-finocomp ,
Hi @route443 ,
Hi @alanwilkie-finocomp and @route443, I would appreciate it if you could feel free to review and let me know if you have other opinion. Happy New Year! |
FYI: You can test this with this repo: https://github.com/nginx-openid-connect/nginx-oidc-examples/tree/main/001-oidc-local-test |
99bad05
to
bb97a82
Compare
Hi @shawnhankim, Thank you for your contribution to the NGINX OIDC reference implementation!
Thanks for understanding! |
659a746
to
5e7ed50
Compare
Hi @route443 , Thanks for your review. I understand what you mean. Per our discussion in the other PR, I have just renamed the variable name from args to query params as it is commonly used. It would be also helpful to synchronize naming convention between logout query params and authz query params instead of args. For example, OpenAPI Spec uses several parameter types as follows:
We might be able to add more custom path/query/header/cookie parameters here in the future. By the way, NMS-ACM already has some of additional params. So, I wanted to use the variable name as parameters rather than args. I was wondering if it would make sense to you. Thanks! |
5e7ed50
to
b1efb85
Compare
Issue:
Background:
I want to more flexibly configure query parameters for the OIDC authZ endpoint. So customers can customize the OIDC endpoints to pass vendor specific query parameters to complete their flow. For example, Azure AD B2B expects to send a special query param called resource-id to be passed to its authorization endpoint.
In addition to that, I want to synchronize the variable name between NGINX Plus and NGINX Management Suite.
$oidc_authz_extra_args
is merged (Dec/8/2022)$oidc_authz_query_params
is released (Jul/20/2022)Description:
$oidc_authz_extra_args
to$oidc_authz_query_params
.$pkce_code_challenge
,$nonce_hash
) that can be configured as query params by customers for the OIDC authZ endpoint.