Skip to content

Commit c19c63c

Browse files
author
Rujun Chen
authored
Fix error: missing base-uri for b2c. (Azure#23132)
1 parent acd2710 commit c19c63c

File tree

1 file changed

+4
-2
lines changed
  • sdk/spring/azure-spring-boot-starter-active-directory-b2c

1 file changed

+4
-2
lines changed

sdk/spring/azure-spring-boot-starter-active-directory-b2c/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ This scenario is based on **Accessing a web application** scenario to allow appl
239239
azure:
240240
activedirectory:
241241
b2c:
242+
base-uri: ${your-base-uri} # Such as: https://xxxxb2c.b2clogin.com
242243
tenant-id: ${your-tenant-id}
243244
authorization-clients:
244245
${your-resource-server-a-name}:
@@ -320,9 +321,10 @@ This scenario not support login. Just protect the server by validating the acces
320321
azure:
321322
activedirectory:
322323
b2c:
324+
base-uri: ${your-base-uri} # Such as: https://xxxxb2c.b2clogin.com
323325
tenant-id: ${your-tenant-id}
324-
app-id-uri: ${your-web-api-a-app-id-url}
325-
client-id: ${your-web-api-a-client-id}
326+
app-id-uri: ${your-app-id-uri} # If you are using v1.0 token, please configure app-id-uri for `aud` verification
327+
client-id: ${your-client-id} # If you are using v2.0 token, please configure client-id for `aud` verification
326328
```
327329
328330
1. Write your Java code.

0 commit comments

Comments
 (0)