This is a very simple application that demonstrates an ansattporten integration, including log in and selecting a representation on behalf of a company.
Set Environment variable clientSecret to the ansattporten client secret.
If needed, update your client information in the application profile.
If you're testing this, and don't have an ansattporten client, please contact digdir to enquire for one,
you can find more details in the Ansattporten integration guide
The application on main branch uses WebFlux and Netty, creating a reactive stack, through spring-boot-starter-webflux.
The application in the "tomcat" branch uses a Servlet stack and tomcat, through spring-boot-starter-web
To read a little more about the differences: spring-web vs spring-webflux