From 64f1de2c66495a8bd24e7cbd4b87782eabaa19f8 Mon Sep 17 00:00:00 2001 From: Lance Bragstad Date: Tue, 15 Sep 2015 00:44:27 +0000 Subject: [PATCH] Update federation router with missing call We can do federated authentication for specific identity providers with both GET and POST operations, according to the code in keystone/contrib/federation/routers.py. The inline documentation in the module only said that GET was possible and didn't include documentation on the POST operation. This commit updates the inline documentation to be consistent with the code. Change-Id: I88e8ab231957ba977c7d2fa7f8ee0443842ef584 --- keystone/contrib/federation/routers.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/keystone/contrib/federation/routers.py b/keystone/contrib/federation/routers.py index 1cc89967ae..ddf2f61f17 100644 --- a/keystone/contrib/federation/routers.py +++ b/keystone/contrib/federation/routers.py @@ -75,6 +75,10 @@ class FederationExtension(wsgi.V3ExtensionRouter): GET /auth/OS-FEDERATION/identity_providers/ {idp_id}/protocols/{protocol_id}/websso ?origin=https%3A//horizon.example.com + POST /auth/OS-FEDERATION/identity_providers/ + {idp_id}/protocols/{protocol_id}/websso + ?origin=https%3A//horizon.example.com + POST /auth/OS-FEDERATION/saml2 POST /auth/OS-FEDERATION/saml2/ecp