DaffAuthRoutingConfig

An interface for providing `@daffodil/auth/routing` with necessary config values.

Properties

Name Type Description
resetPasswordTokenParam string The name of the query param to which the reset password token will be set.
redirectUrlParam string The name of the query param from which the redirect URL will be fetched. Defaults to `redirect`.
authCompleteRedirectPath string The path to which the user will be redirected when they are logged in and the auth token is stored. Defaults to `'/'`.
logoutRedirectPath string The path to which the user will be redirected when they are logged out. Defaults to `'/'`.
tokenExpirationRedirectPath string The path to which the user will be redirected when their auth token is present but invalid. Defaults to `'/'`.
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.