From 66c9bb183e26a566cfd191491663db73116f7677 Mon Sep 17 00:00:00 2001 From: George Jahad Date: Fri, 11 Oct 2024 11:10:21 -0700 Subject: [PATCH] cleanup --- README.md | 4 ++-- app/lib/clients/vault/oidc.rb | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2e997c1..c9f7d28 100644 --- a/README.md +++ b/README.md @@ -94,8 +94,8 @@ following to the /etc/hosts file on your host: 127.0.0.1 oidc_provider ``` -Finally, if you run "rails test" a second time, it will recreate the -provider settings, so you will need to clear the browser's +Finally, if you restart the docker vault container, it will recreate +the provider settings, so you will need to clear the browser's "oidc_provider" cookie. Otherwise you will see this error: ``` diff --git a/app/lib/clients/vault/oidc.rb b/app/lib/clients/vault/oidc.rb index 6246a9d..4ecf24e 100644 --- a/app/lib/clients/vault/oidc.rb +++ b/app/lib/clients/vault/oidc.rb @@ -28,7 +28,6 @@ module Clients class Vault module Oidc - cattr_accessor :provider def configure_oidc_provider provider = oidc_provider.logical.read("identity/oidc/provider/astral") if provider.nil?