From 1c6d5ff0cd027ef74306dcf831c3bbdcc5043ddc Mon Sep 17 00:00:00 2001
From: Kianna <30884335+kiannaquach@users.noreply.github.com>
Date: Thu, 18 May 2023 08:52:28 -0700
Subject: [PATCH] UI: VAULT-16309 Update OIDC navbar name to OIDC provider
(#20631)
---
ui/app/components/sidebar/nav/access.hbs | 2 +-
ui/tests/acceptance/sidebar-nav-test.js | 2 +-
ui/tests/integration/components/sidebar/nav/access-test.js | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ui/app/components/sidebar/nav/access.hbs b/ui/app/components/sidebar/nav/access.hbs
index 5b57fcb76ead..68ea40719883 100644
--- a/ui/app/components/sidebar/nav/access.hbs
+++ b/ui/app/components/sidebar/nav/access.hbs
@@ -27,7 +27,7 @@
/>
{{/if}}
{{#if (has-permission "access" routeParams="oidc")}}
-
+
{{/if}}
{{#if (and (has-feature "Control Groups") (has-permission "access" routeParams="control-groups"))}}
diff --git a/ui/tests/acceptance/sidebar-nav-test.js b/ui/tests/acceptance/sidebar-nav-test.js
index c2474587222e..007f0e03c4f5 100644
--- a/ui/tests/acceptance/sidebar-nav-test.js
+++ b/ui/tests/acceptance/sidebar-nav-test.js
@@ -66,7 +66,7 @@ module('Acceptance | sidebar navigation', function (hooks) {
const links = [
{ label: 'Multi-factor authentication', route: '/vault/access/mfa' },
- { label: 'OIDC', route: '/vault/access/oidc' },
+ { label: 'OIDC provider', route: '/vault/access/oidc' },
{ label: 'Groups', route: '/vault/access/identity/groups' },
{ label: 'Entities', route: '/vault/access/identity/entities' },
{ label: 'Leases', route: '/vault/access/leases/list' },
diff --git a/ui/tests/integration/components/sidebar/nav/access-test.js b/ui/tests/integration/components/sidebar/nav/access-test.js
index 6d394b619b9e..650b6887c905 100644
--- a/ui/tests/integration/components/sidebar/nav/access-test.js
+++ b/ui/tests/integration/components/sidebar/nav/access-test.js
@@ -46,7 +46,7 @@ module('Integration | Component | sidebar-nav-access', function (hooks) {
'Back to main navigation',
'Authentication methods',
'Multi-factor authentication',
- 'OIDC',
+ 'OIDC provider',
'Control Groups',
'Namespaces',
'Groups',