This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/website/integrations/services/apache-guacamole/index.mdx

71 lines
2.7 KiB
Plaintext
Raw Normal View History

2021-03-02 21:04:53 +00:00
---
title: Apache Guacamole™
---
<span class="badge badge--primary">Support level: authentik</span>
2021-03-02 21:04:53 +00:00
## What is Apache Guacamole™
> Apache Guacamole is a clientless remote desktop gateway. It supports standard protocols like VNC, RDP, and SSH.
>
> -- https://guacamole.apache.org/
2021-03-02 21:04:53 +00:00
## Preparation
The following placeholders will be used:
- `guacamole.company` is the FQDN of the Guacamole install.
- `authentik.company` is the FQDN of the authentik install.
2021-03-02 21:04:53 +00:00
Create an OAuth2/OpenID provider with the following parameters:
- Client Type: `Confidential`
- Redirect URIs: `https://guacamole.company/` (depending on your Tomcat setup, you might have to add `/guacamole/` if the application runs in a subfolder)
- Scopes: OpenID, Email and Profile
2021-03-02 21:04:53 +00:00
Under _Advanced protocol settings_, set the following:
- Token validity: Any value to configure how long the session should last. Guacamole will not accept any tokens valid longer than 300 Minutes.
- Signing Key: Set the key as `authentik Self-signed Certificate`
2021-03-02 21:04:53 +00:00
Note the Client ID value. Create an application, using the provider you've created above.
## Guacamole
It is recommended you configure an admin account in Guacamole before setting up SSO to make things easier. Create a user in Guacamole using the email address of your user in authentik and give them admin permissions. Without this you might loose access to the Guacamole admin settings and have to revert the settings below.
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
2021-03-02 21:04:53 +00:00
<Tabs
defaultValue="docker"
values={[
{label: 'Docker', value: 'docker'},
{label: 'Standalone', value: 'standalone'},
]}>
<TabItem value="docker">
The docker containers are configured via environment variables. The following variables are required:
```yaml
OPENID_AUTHORIZATION_ENDPOINT: https://authentik.company/application/o/authorize/
OPENID_CLIENT_ID: # client ID from above
2021-03-10 22:15:25 +00:00
OPENID_ISSUER: https://authentik.company/application/o/*Slug of the application from above*/
OPENID_JWKS_ENDPOINT: https://authentik.company/application/o/*Slug of the application from above*/jwks/
2021-03-02 21:04:53 +00:00
OPENID_REDIRECT_URI: https://guacamole.company/ # This must match the redirect URI above
```
2021-03-02 21:04:53 +00:00
</TabItem>
<TabItem value="standalone">
Standalone Guacamole is configured using the `guacamole.properties` file. Add the following settings:
```
openid-authorization-endpoint=https://authentik.company/application/o/authorize/
openid-client-id=# client ID from above
2021-03-10 22:15:25 +00:00
openid-issuer=https://authentik.company/application/o/*Slug of the application from above*/
openid-jwks-endpoint=https://authentik.company/application/o/*Slug of the application from above*/jwks/
2021-03-02 21:04:53 +00:00
openid-redirect-uri=https://guacamole.company/ # This must match the redirect URI above
```
2021-03-02 21:04:53 +00:00
</TabItem>
</Tabs>