Add credentials mechanism to default WEBSSO_CHOISES
... otherwise enabling WEBSSO_ENABLED immediately hides any options to login to dashboard. Change-Id: I42b2ea5c4e7f5a68bdfd044e0bc9a3b7745708ec Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
@@ -1696,7 +1696,17 @@ WEBSSO_CHOICES
|
||||
|
||||
.. versionadded:: 2015.1(Kilo)
|
||||
|
||||
Default: ``()``
|
||||
.. versionchanged:: 2026.1(Gazpacho)
|
||||
|
||||
The default value has been updated to include the credentials mechanism.
|
||||
|
||||
Default:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
(
|
||||
("credentials", _("Keystone Credentials")),
|
||||
)
|
||||
|
||||
This is the list of authentication mechanisms available to the user. It
|
||||
includes Keystone federation protocols such as OpenID Connect and SAML, and
|
||||
|
@@ -10,6 +10,8 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
# NOTE: The following are from Django settings.
|
||||
# LOGIN_URL
|
||||
# LOGIN_REDIRECT_URL
|
||||
@@ -119,7 +121,9 @@ WEBSSO_INITIAL_CHOICE = 'credentials'
|
||||
# ("acme_oidc", "ACME - OpenID Connect"),
|
||||
# ("acme_saml2", "ACME - SAML2"),
|
||||
# )
|
||||
WEBSSO_CHOICES = ()
|
||||
WEBSSO_CHOICES = (
|
||||
("credentials", _("Keystone Credentials")),
|
||||
)
|
||||
|
||||
# A dictionary of specific identity provider and federation protocol
|
||||
# combinations. From the selected authentication mechanism, the value
|
||||
|
@@ -0,0 +1,5 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
Now the ``WEBSSO_CHOICES`` option includes the entry to use credentials
|
||||
mechanism by default.
|
Reference in New Issue
Block a user