From 4246e3573809c8ad7cabde2e8b8834329457cf03 Mon Sep 17 00:00:00 2001 From: Katie Edgar Date: Sun, 30 Jun 2024 21:23:03 -0400 Subject: [PATCH 1/2] Update issuer value for nitro and tempo id --- lib/omniauth/strategies/nitro_id.rb | 2 +- lib/omniauth/strategies/tempo_id.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/omniauth/strategies/nitro_id.rb b/lib/omniauth/strategies/nitro_id.rb index 7164fd1..205a445 100644 --- a/lib/omniauth/strategies/nitro_id.rb +++ b/lib/omniauth/strategies/nitro_id.rb @@ -7,7 +7,7 @@ module Strategies class NitroId < BaseStrategy option :name, "nitro_id" option :discovery, true - option :issuer, "https://id.powerhrg.com/" + option :issuer, "https://id.powerhrg.com" option :client_options, host: "id.powerhrg.com" end end diff --git a/lib/omniauth/strategies/tempo_id.rb b/lib/omniauth/strategies/tempo_id.rb index e2fe078..324396f 100644 --- a/lib/omniauth/strategies/tempo_id.rb +++ b/lib/omniauth/strategies/tempo_id.rb @@ -7,7 +7,7 @@ module Strategies class TempoId < BaseStrategy option :name, "tempo_id" option :discovery, true - option :issuer, "https://id.streamfinancial.io/" + option :issuer, "https://id.streamfinancial.io" option :client_options, host: "id.streamfinancial.io" end end From e969fdab02d007d87d11a2b755de7f61df07272d Mon Sep 17 00:00:00 2001 From: Katie Edgar Date: Sun, 30 Jun 2024 21:25:28 -0400 Subject: [PATCH 2/2] Fix specs --- spec/omniauth/strategies/nitro_id_spec.rb | 2 +- spec/omniauth/strategies/tempo_id_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/omniauth/strategies/nitro_id_spec.rb b/spec/omniauth/strategies/nitro_id_spec.rb index ddb0450..238caf4 100644 --- a/spec/omniauth/strategies/nitro_id_spec.rb +++ b/spec/omniauth/strategies/nitro_id_spec.rb @@ -31,7 +31,7 @@ end it "should have correct issuer" do - expect(subject.options.issuer).to eq "https://id.powerhrg.com/" + expect(subject.options.issuer).to eq "https://id.powerhrg.com" end it "should have the correct discovery setting" do diff --git a/spec/omniauth/strategies/tempo_id_spec.rb b/spec/omniauth/strategies/tempo_id_spec.rb index 8c4de09..34e8316 100644 --- a/spec/omniauth/strategies/tempo_id_spec.rb +++ b/spec/omniauth/strategies/tempo_id_spec.rb @@ -31,7 +31,7 @@ end it "should have correct issuer" do - expect(subject.options.issuer).to eq "https://id.streamfinancial.io/" + expect(subject.options.issuer).to eq "https://id.streamfinancial.io" end it "should have the correct discovery setting" do