AADSTS900971: No reply address provided.
- Dominant language
- No language data
- Stars
- 346
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
I want to enable authentication via Azure Active Directory (AAD) for my static web app. However, after authenticating I receive the following error while I do have registered a redirect URI/reply URL:

See here the redirect URI that I registered:

And here configuration of my static web app (I replace my tenant ID for TENANT_ID here):
```
{
"auth": {
"identityProviders": {
"azureActiveDirectory": {
"registration": {
"openIdIssuer": "https://login.microsoftonline.com/TENANT_ID/v2.0",
"clientIdSettingName": "AZURE_CLIENT_ID",
"clientSecretSettingName": "AZURE_CLIENT_SECRET"
}
}
}
},
"navigationFallback": {
"rewrite": "index.html"
},
"routes": [
{
"route": "/login",
"redirect": "/.auth/login/aad",
"allowedRoles": ["anonymous", "authenticated"]
},
{
"route": "/.auth/login/github",
"statusCode": 404
},
{
"route": "/.auth/login/twitter",
"statusCode": 404
},
{
"route": "/logout",
"redirect": "/.auth/logout",
"allowedRoles": ["anonymous", "authenticated"]
},
{
"route": "/*",
"allowedRoles": ["authenticated"]
}
],
"responseOverrides": {
"401": {
"redirect": "/login",
"statusCode": 302
}
},
"globalHeaders": {
"content-security-policy": "default-src https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'"
},
"mimeTypes": {
".json": "text/json"
}
}
```
The web app is deployed using a pipeline in azure DevOps (using AzureStaticWebApp@0 task). Without the authentication my static web app is working fine.
Does anyone know what's causing this error? It seems like it does not use the registered URI but I don't know how to debug this.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.