-
Notifications
You must be signed in to change notification settings - Fork 108
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
Remove hyphen from openid-connect section of the endpoints api #3241
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -140,17 +140,17 @@ def check_config(self, client, server_config, host, my_headers={}): | |
|
||
try: | ||
oidc_client = server_config.get("openid-connect", "client") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. FWIW, these lists were in sorted order. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I support keeping the list in sorted order. On another note, @portante, when commenting on multiple lines, you can drag-select to highlight the range, and doing so has two effects: first, in the "Conversation" display, your comment will be preceded by the code from the range (instead of the default three or so lines), and, second and more importantly, your comment will be displayed after the range (in this instance, it would have made clear what you meant by "these lists"). |
||
oidc_issuer = server_config.get("openid-connect", "server_url") | ||
oidc_realm = server_config.get("openid-connect", "realm") | ||
oidc_secret = server_config.get("openid-connect", "secret") | ||
oidc_server = server_config.get("openid-connect", "server_url") | ||
except (NoOptionError, NoSectionError): | ||
pass | ||
else: | ||
expected_results["openid-connect"] = { | ||
"client": oidc_client, | ||
"issuer": oidc_issuer, | ||
"realm": oidc_realm, | ||
"secret": oidc_secret, | ||
"server": oidc_server, | ||
} | ||
|
||
response = client.get(f"{server_config.rest_uri}/endpoints", headers=my_headers) | ||
|
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.
Perhaps "OpenID Connect" could be shortened to
oidc
if we really need it that short?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.
Brevity is not the issue; what we're trying to do is to make it be a valid Javascript identifier, which means removing the hyphen.