-
Notifications
You must be signed in to change notification settings - Fork 73
Add back authorizationUrl
redirect feature with a flag
#828
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
Conversation
This reverts commit 621211d.
Signed-off-by: Wayne Zhang <[email protected]>
start_esp/start_esp.py
Outdated
@@ -939,6 +940,11 @@ def make_argparser(): | |||
parser.add_argument('--jwks_cache_duration_in_s', default=None, type=int, help=''' | |||
Specify JWT public key cache duration in seconds. Default is 5 minutes.''') | |||
|
|||
parser.add_argument('--redirect_authorization_url', action='store_true', |
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.
Nit: enable_redirect_to_authorization_url
Current name makes it sound like the flag accepts a URL string as a param.
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.
how about
--enable_jwt_authorization_url_redirect
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.
SG
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.
Just two NITs
Signed-off-by: Wayne Zhang <[email protected]>
PTAL |
Rollbacked the `authorizationUrl" redirect feature removed by #824
Add a new flag --redirect_authorization_url to guard this feature. This feature is only enabled when this flag is specified.