Skip to content

Commit

Permalink
docs: error instead of warning
Browse files Browse the repository at this point in the history
(cherry picked from commit 5db84fb)
  • Loading branch information
rajamatt authored and mergify[bot] committed Jun 20, 2024
1 parent 7c73177 commit 2272a09
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/Learn/Authentication/HowTo-MsalAuthentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,11 @@ uid: Uno.Extensions.Authentication.HowToMsalAuthentication

> [!WARNING]
> A ClientId of GUID format is required for MSAL Authentication to work. You can specify it in the appsettings.json file, or in the code itself.
> If the ClientId cannot be found, the following warning will be logged:
> If the ClientId cannot be found, the app will crash with the following error:

```xml
Uno.Extensions.Authentication.MSAL.MsalAuthenticationProvider[0] A valid ClientId (GUID) is required for MSAL. Please provide the ClientId in the appsettings.json file.
Exception thrown: 'Microsoft.Identity.Client.MsalClientException' in Microsoft.Identity.Client.dll
No ClientId was specified.
```

### 4. Use the provider in your application
Expand Down

0 comments on commit 2272a09

Please sign in to comment.