Skip to content

Commit 166033b

Browse files
committed
correct tyop
1 parent d7ff081 commit 166033b

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

support/entra/entra-id/app-integration/enable-msal4j-logging-spring-boot-webapp.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ This article provides step-by-step instructions on how to enable [Microsoft Auth
1313

1414
## Code sample
1515

16-
The complete code sample and configuration guide for this implementation is available on [GitHub](https://github.com/bachoang/MSAL4J_SpringBoot_Logging/tree/main/msal-b2c-web-sample).
17-
18-
The sample uses Azure Active Directory B2C.
16+
The complete code sample and configuration guide for this implementation are available on [GitHub](https://github.com/bachoang/MSAL4J_SpringBoot_Logging/tree/main/msal-b2c-web-sample).
1917

2018
## Enable MSAL4J logging
2119

@@ -29,7 +27,7 @@ The sample uses Azure Active Directory B2C.
2927
</dependency>
3028
```
3129

32-
2. In the **Resource** section of the Visual Studio or other IDE tool, create a new file named **logback.xml** in the **src/main/resources** folder and add the following content:
30+
2. In your app project, create a new file named **logback.xml** in the **src/main/resources** folder and add the following content:
3331

3432
```xml
3533
<?xml version="1.0" encoding="UTF-8"?>
@@ -43,10 +41,10 @@ The sample uses Azure Active Directory B2C.
4341
<appender-ref ref="STDOUT" />
4442
</root>
4543
</configuration>
46-
47-
This configuration (also known as Appender) logs messages to the console. You can adjust the logging level to `error`, `warn`, `info`, or `verbose` based on your preference. For more information, see [LogBack: Appenders](https://logback.qos.ch/manual/appenders.html)
4844
```
49-
3. Set the logging.config property to the location of the logback.xml file before the main method:
45+
46+
This Appender configuration logs messages to the console. You can adjust the logging level to `error`, `warn`, `info`, or `verbose` based on your preference. For more information, see [LogBack: Appenders](https://logback.qos.ch/manual/appenders.html)
47+
3. Set the **logging.config** property to the location of the **logback.xml** file before the main method:
5048

5149
```java
5250
@SpringBootApplication
@@ -71,9 +69,9 @@ The code sample uses HTTP protocol. Follow [Configure the sample to use your Azu
7169

7270
### App registration configuration
7371

74-
Follow these step to configure app registration in Azure AD B2C:
72+
Follow these steps to configure app registration in Azure AD B2C:
7573

76-
1. Create two app registrations in your Azure AD B2C tenant: One for the web application. and the other for the web API.
74+
1. Create two app registrations in your Azure AD B2C tenant: One for the web application and the other for the web API.
7775
2. Expose the required scope in the web API. Refer to [this documentation](/azure/active-directory-b2c/configure-authentication-sample-web-app-with-api?tabs=visual-studio#step-22-configure-web-api-app-scopes) for guidance on exposing web API scopes.
7876
3. Configure the web API scope in the **API Permissions** blade for the web application.
7977
4. Grant admin consent to all configured permissions in the web application.

0 commit comments

Comments
 (0)