Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

NEXT_PUBLIC_PUBLIC_ACCESS

false / true
This flag decides if Portrait is run in Public Mode - without Login. This flag must be used in conjunction with the Flag “auth.publicAccess” inside the General settings .

Note

Public-Mode must be licensed separately. Contact your Portrait Partner for details.

NEXT_PUBLIC_SUPPORTED_LANGS

de,en
Usually, Portrait auto-detects the browser language of the user. If you want to override this behavior, you can set this value.

The list is comma separated of the supported languages. If only one is needed, just use that without a comma.

NEXT_PUBLIC_DISALLOW_LOGIN

false / true

This feature flag defines if you want to hide the login button.

Only useful if you are running your App in public mode.

NEXT_PUBLIC_ALLOW_QUERY_LOGIN

false / true

Allow logging in with query parameters for demo uses. This is by default deactivated for security reasons.

You can use the credentials inside the URL:
https://portal.customer.xyz/de?action=login&user=user@customer.xyz&password=asdf

NEXT_PUBLIC_API_LOGGING

false / true

Don't add this value, unless instructed by the Support-Team.

NEXT_PUBLIC_NO_INDEX

false / true

If needed, a public Portrait instance can be hidden from search engines.
By setting no-index, no-follow.

You need to restart Portrait after you changed this values.

...