This is an automated email from the ASF dual-hosted git repository.
arm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
The following commit(s) were added to refs/heads/main by this push:
new f34f4a0a Update to MFA-supporting OAuth endpoints
f34f4a0a is described below
commit f34f4a0af455d25040ded0934d6ced181f174783
Author: Alastair McFarlane <[email protected]>
AuthorDate: Thu Apr 2 17:36:16 2026 +0100
Update to MFA-supporting OAuth endpoints
---
atr/server.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/atr/server.py b/atr/server.py
index 786ccb4e..6ae970fa 100644
--- a/atr/server.py
+++ b/atr/server.py
@@ -117,8 +117,8 @@ _SWAGGER_UI_TEMPLATE: Final[str] = """<!DOCTYPE html>
"""
# Avoid OIDC
-asfquart.generics.OAUTH_URL_INIT =
"https://oauth.apache.org/auth?state=%s&redirect_uri=%s"
-asfquart.generics.OAUTH_URL_CALLBACK = "https://oauth.apache.org/token?code=%s"
+asfquart.generics.OAUTH_URL_INIT =
"https://oauth.apache.org/auth-oidc?state=%s&redirect_uri=%s"
+asfquart.generics.OAUTH_URL_CALLBACK =
"https://oauth.apache.org/token-oidc?code=%s"
class ApiOnlyOpenAPIProvider(quart_schema.OpenAPIProvider):
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]