Код: Выделить всё
`com.example.microsoftintegrationandroid:host="com.example.microsoftintegration"{
"client_id" : "0fcce5cd-946f-471b-953a-3948dc69d97e",
"authorization_user_agent" : "DEFAULT",
"redirect_uri" : "msauth://com.example.microsoftintegration/A%2FoARUpzRHfPOezOHJootAPRWJ8%3D",
"authorities" : [
{
"type": "AAD",
"authority_url": "https://login.microsoftonline.com/7233866a-c721-44ae-b426-6b0e8386199b"
}
]
}`
< /code>
Но в соответствии с документацией мой файл конфигурации должен напоминать этот пример: < /p>
`{
"client_id" : "0984a7b6-bc13-4141-8b0d-8f767e136bb7",
"authorization_user_agent" : "DEFAULT",
"redirect_uri" : "msauth://com.azuresamples.msalandroidapp/1wIqXSqBj7w%2Bh11ZifsnqwgyKrY%3D",
"account_mode" : "SINGLE",
"authorities" : [
{
"type": "AAD",
"audience": {
"type": "AzureADandPersonalMicrosoftAccount",
"tenant_id": "common"
}
}
]
}`
< /code>
и в файле я написал, что JSON выглядит так < /p>
`{
"client_id": "0fcce5cd-946f-471b-953a-3948dc69d97e",
"authorization_user_agent": "DEFAULT",
"redirect_uri": "msauth://com.example.microsoftintegration/A%2FoARUpzRHfPOezOHJootAPRWJ8%3D",
"account_mode": "SINGLE",
"authorities": [
{
"type": "AAD",
"authority_url": "https://login.microsoftonline.com/7233866a-c721-44ae-b426-6b0e8386199b"
}
]
}`
Подробнее здесь: https://stackoverflow.com/questions/629 ... d-signatur