Skip to content

OpenId Connect ​

HcSessionModule ​

Module Options ​

sessionStoreNest provider with SessionStore implementation. There are Predefined stores with providers
- RedisOpenIdSessionStoreProvider
- MemoryOpenIdSessionStoreProvider

Config ​

Default base key: core.auth.openid

client

issuerDiscoverURL to openid configuration discovery
clientIdID of OpenId Connect client
clientSecretPathdefault: core.auth.openid.user.client
defaultMaxAgeAuthorize max time in seconds

app

apiBaseUrlURL to application API.
sessionSession module configuration(Auth->Session).
loginOptions for user login operation.
scopeOpenID scopes.
[audience]Optional audience.
[claims]Optional individual OpenID Claims.
redirect
baseUrlApplication base URL(after normal login user will be redirected there).
postLogoutUrlApplication post logout URL.
errorUrlRedirects user there when any auth error ocurred.

Secrets ​

OpenId Client secret:

  • default: core.auth.openid.user.client
  • format: string