Questo contenuto non è disponibile nella lingua selezionata.
Chapter 2. Authenticating with the Guest user
For trial or non-production environments, you can enable guest access to skip configuring authentication and authorization and explore Developer Hub features.
2.1. Authenticating with the Guest user on an Operator-based installation Copia collegamentoCollegamento copiato negli appunti!
For trial or non-production environments installed by using the Red Hat Developer Hub Operator, you can enable guest access to skip configuring authentication and authorization and explore Developer Hub features.
Prerequisites
- You added a custom Developer Hub application configuration, and have enough permissions to change it.
- You use the Red Hat Developer Hub Operator to run Developer Hub.
Procedure
Add the following content to the
app-config.yamlfile:auth: environment: development providers: guest: dangerouslyAllowOutsideDevelopment: true
Verification
- Go to the Developer Hub login page.
- To log in with the Guest user account, click Enter in the Guest tile.
- In the Developer Hub Settings page, your profile name is Guest.
- You can use Developer Hub features.
2.2. Authenticating with the Guest user on a Helm-based installation Copia collegamentoCollegamento copiato negli appunti!
For trial or non-production environments installed by using the Red Hat Developer Hub Helm chart, you can enable guest access to skip configuring authentication and authorization and explore Developer Hub features.
Prerequisites
- You added a custom Developer Hub application configuration, and have enough permissions to change it.
- You use the Red Hat Developer Hub Helm chart to run Developer Hub.
Procedure
Add following content to your Red Hat Developer Hub Helm Chart:
upstream: backstage: appConfig: app: baseUrl: 'https://{{- include "janus-idp.hostname" . }}' auth: environment: development providers: guest: dangerouslyAllowOutsideDevelopment: true
Verification
- Go to the Developer Hub login page.
- To log in with the Guest user account, click Enter in the Guest tile.
- In the Developer Hub Settings page, your profile name is Guest.
- You can use Developer Hub features.