Microsoft Re-authorization flow (#6268)

This commit is contained in:
Tejaswini Chile
2023-01-19 01:06:01 +05:30
committed by GitHub
parent 8d60bd9970
commit 83ea2a87e2
7 changed files with 96 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
require 'rails_helper'
describe '/.well-known/microsoft-identity-association.json', type: :request do
describe 'GET /.well-known/microsoft-identity-association.json' do
it 'successfully retrieves assetlinks.json file' do
with_modified_env AZURE_APP_ID: 'azure-application-client-id' do
get '/.well-known/microsoft-identity-association.json'
expect(response).to have_http_status(:success)
expect(response.body).to include '"applicationId": "azure-application-client-id"'
end
end
end
end