feat: remove prompt param

This commit is contained in:
Shivam Mishra
2026-05-29 18:33:07 +05:30
committed by Vishnu Narayanan
parent 4339e0ee0a
commit c8b65f86c9
2 changed files with 2 additions and 2 deletions
@@ -43,6 +43,7 @@ RSpec.describe 'Microsoft Authorization API', type: :request do
]
expect(params['scope']).to eq(expected_scope)
expect(params['redirect_uri']).to eq(["#{ENV.fetch('FRONTEND_URL', 'http://localhost:3000')}/microsoft/callback"])
expect(url).not_to match(/(?:\?|&)prompt=/)
# Validate state parameter exists and can be decoded back to the account
expect(params['state']).to be_present