-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use version 4.0 for aad related sample (#72)
- Loading branch information
Showing
132 changed files
with
369 additions
and
422 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 0 additions & 39 deletions
39
aad/azure-spring-boot-starter-active-directory-b2c/aad-b2c-resource-server/pom.xml
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...t-starter-active-directory-b2c/aad-b2c-resource-server/src/main/resources/application.yml
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...t-starter-active-directory-b2c/aad-b2c-web-application/src/main/resources/application.yml
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...rectory/aad-resource-server-by-filter-stateless/src/main/resources/application.properties
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
...starter-active-directory/aad-resource-server-by-filter/src/main/resources/application.yml
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
...-boot-starter-active-directory/aad-resource-server-obo/src/main/resources/application.yml
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...ring-boot-starter-active-directory/aad-resource-server/src/main/resources/application.yml
This file was deleted.
Oops, something went wrong.
36 changes: 0 additions & 36 deletions
36
...tive-directory/aad-web-application-and-resource-server/src/main/resources/application.yml
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
...ring-boot-starter-active-directory/aad-web-application/src/main/resources/application.yml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
27 changes: 27 additions & 0 deletions
27
aad/spring-cloud-azure-starter-active-directory-b2c/aad-b2c-resource-server/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>com.azure.spring</groupId> | ||
<artifactId>azure-spring-boot-samples</artifactId> | ||
<version>1.0.0</version> | ||
</parent> | ||
|
||
<groupId>com.azure.spring</groupId> | ||
<artifactId>spring-cloud-azure-starter-active-directory-b2c-resource-server</artifactId> | ||
<version>1.0.0</version> | ||
<packaging>jar</packaging> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>com.azure.spring</groupId> | ||
<artifactId>spring-cloud-azure-starter-active-directory-b2c</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-starter-web</artifactId> | ||
</dependency> | ||
</dependencies> | ||
</project> |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...e-starter-active-directory-b2c/aad-b2c-resource-server/src/main/resources/application.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# In v2.0 tokens, `aud` is always the client ID of the API, while in v1.0 tokens it can be the resource URI used in the request. | ||
|
||
spring: | ||
cloud: | ||
azure: | ||
active-directory: | ||
b2c: | ||
enabled: true | ||
tenant-id: ${your-tenant-id} | ||
app-id-uri: ${your-app-id-uri} # If you are using v1.0 token, please configure app-id-uri for `aud` verification | ||
client-id: ${your-client-id} # If you are using v2.0 token, please configure client-id for `aud` verification | ||
base-uri: ${your-base-uri} # Such as: https://xxxxb2c.b2clogin.com | ||
user-flows: | ||
sign-up-or-sign-in: ${sign-up-or-sign-in-user-flow-name} |
Oops, something went wrong.