-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Use az ad app create to creata a SPA #21476
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botGraph(doesn't work with label-triggered comments; use Graph.Microsoft instead) az ad(doesn't work with label-triggered comments; use Graph.Microsoft instead) az adact-identity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Milestone
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botGraph(doesn't work with label-triggered comments; use Graph.Microsoft instead) az ad(doesn't work with label-triggered comments; use Graph.Microsoft instead) az adact-identity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Could you please provide a sample on how to create an app registration of type SPA. When using:
az ad app create --display-name $app-ui --required-resource-accesses @manifest-ui.json
--oauth2-allow-implicit-flow false
--reply-urls $urlUI --query appId -o tsv
the resulting replyUrlsWithType is always
"replyUrlsWithType": [
{
"url": "http://localhost:4200",
"type": "Web"
}
],
instead of
"replyUrlsWithType": [
{
"url": "http://localhost:4200",
"type": "Spa"
}
],
This results in error: Cross-origin token redemption is permitted only for the 'Single-Page Application' client-type.
Can you please comment on how to create other platform types than web. Thank you
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.