Search…
Auth Public API

Auth Public API Client

About

This library implements a client to use the public auth API.
NOTE: Since there is a race condition while creating schemas in the build process, the auth-public-api has to be treated as external service. Therefore, the yaml has to be copied from apps/services/auth-public-api/src/openapi.yaml and pasted into the clientConfig.yaml.

Import into other NESTJS modules

Add the service to your module imports:
1
import { AuthPublicApiClientModule } from '@island.is/clients/auth-public-api'
2
3
@Module({
4
imports: [
5
AuthPublicApiClientModule.register({
6
baseApiUrl: AUTH_PUBLIC_API_URL,
7
}),
8
],
9
})
Copied!

Code owners and maintainers

Last modified 8d ago