Auth SpringBoot User Guide
Inject required libraries
<dependency>
<groupId>io.mosip.kernel</groupId>
<artifactId>kernel-auth-adapter</artifactId>
<version>Kernel Parent Version</version>
</dependency>@SpringBootApplication
@ComponentScan(basePackages = "io.mosip.*")Attach annotations to authorize endpoints
Use restTemplate for Http calls
Last updated
Was this helpful?