Skip to content

Conversation

@qiwzhang
Copy link
Contributor

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.

@qiwzhang qiwzhang requested review from TAOXUY and nareddyt January 15, 2021 01:57
nareddyt
nareddyt previously approved these changes Jan 15, 2021
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',
Copy link
Contributor

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.

Copy link
Contributor Author

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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SG

TAOXUY
TAOXUY previously approved these changes Jan 15, 2021
Copy link
Contributor

@TAOXUY TAOXUY left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just two NITs

@qiwzhang qiwzhang dismissed stale reviews from TAOXUY and nareddyt via 974d05e January 15, 2021 18:30
Signed-off-by: Wayne Zhang <[email protected]>
@qiwzhang
Copy link
Contributor Author

PTAL

@qiwzhang qiwzhang merged commit f67ffdc into cloudendpoints:master Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants