This project demos how you can via Spring-boot/Java 11 programatically create new user into Azure AD B2C, get the user id token as well as the access token and validate the id token
- Set the missing properties in application.properties
- Run "mvn clean spring-boot:run"
- How to Create User in Azure AD B2C by using Microsoft Graph and Java
- How to Get and Validate User Tokens Issued by Azure AD B2C via Java
The part of token validation is learnt from https://github.com/lionmint/spring-angular-azureb2c/tree/master/myapiboot