diff --git a/spec/omniauth/strategies/auth0_spec.rb b/spec/omniauth/strategies/auth0_spec.rb index b9f2d80..09e9edf 100644 --- a/spec/omniauth/strategies/auth0_spec.rb +++ b/spec/omniauth/strategies/auth0_spec.rb @@ -91,6 +91,7 @@ expect(redirect_url).not_to have_query('connection_scope') expect(redirect_url).not_to have_query('prompt') expect(redirect_url).not_to have_query('screen_hint') + expect(redirect_url).not_to have_query('login_hint') end it 'redirects to hosted login page' do @@ -107,6 +108,7 @@ expect(redirect_url).not_to have_query('connection_scope') expect(redirect_url).not_to have_query('prompt') expect(redirect_url).not_to have_query('screen_hint') + expect(redirect_url).not_to have_query('login_hint') end it 'redirects to the hosted login page with connection_scope' do @@ -130,6 +132,7 @@ expect(redirect_url).to have_query('prompt', 'login') expect(redirect_url).not_to have_query('auth0Client') expect(redirect_url).not_to have_query('connection') + expect(redirect_url).not_to have_query('login_hint') end it 'redirects to hosted login page with screen_hint=signup' do @@ -144,6 +147,7 @@ expect(redirect_url).to have_query('screen_hint', 'signup') expect(redirect_url).not_to have_query('auth0Client') expect(redirect_url).not_to have_query('connection') + expect(redirect_url).not_to have_query('login_hint') end it 'redirects to hosted login page with login_hint=example@mail.com' do