CreateImageWizard: update azure redirect
On authorization of image builder on azure, the user will be redirected to portal.azure.com. The response mode is changed to query instead of form_post because form_post makes a POST request while query makes a GET request. portal.azure.com does not respond when we make a POST request to it so users will not be redirected unless we use the response mode of query.
This commit is contained in:
parent
c5d0ea69a5
commit
a51328e426
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ const AzureAuthButton = () => {
|
|||
isDisabled={ !guidRegex.test(tenantId) }
|
||||
href={ 'https://login.microsoftonline.com/' + tenantId +
|
||||
'/oauth2/v2.0/authorize?client_id=b94bb246-b02c-4985-9c22-d44e66f657f4&scope=openid&' +
|
||||
'response_type=code&response_mode=form_post&redirect_uri=https%3A%2F%2Flogin.microsoftonline.com%2Fcommon%2Foauth2%2Fnativeclient' }>
|
||||
'response_type=code&response_mode=query&redirect_uri=https://portal.azure.com' }>
|
||||
Authorize Image Builder
|
||||
</Button>
|
||||
</FormGroup>);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue