2022-07-31 03:09:05 +00:00
---
title: "Apache Guacamole"
2023-05-20 00:11:50 +00:00
description: "Integrating Apache Guacamole with the Authelia OpenID Connect 1.0 Provider."
2022-07-31 03:09:05 +00:00
lead: ""
2022-09-01 02:24:47 +00:00
date: 2022-07-31T13:09:05+10:00
2022-07-31 03:09:05 +00:00
draft: false
images: []
menu:
integration:
parent: "openid-connect"
weight: 620
toc: true
community: true
---
## Tested Versions
* [Authelia]
* [v4.36.3 ](https://github.com/authelia/authelia/releases/tag/v4.36.2 )
* [Apache Guacamole]
* __UNKNOWN__
## Before You Begin
2023-02-02 01:30:06 +00:00
{{% oidc-common %}}
2022-10-20 04:42:22 +00:00
2022-10-20 04:27:09 +00:00
### Assumptions
2022-07-31 03:09:05 +00:00
This example makes the following assumptions:
* __Application Root URL:__ `https://guacamole.example.com`
* __Authelia Root URL:__ `https://auth.example.com`
* __Client ID:__ `guacamole`
2023-02-02 01:30:06 +00:00
* __Client Secret:__ `insecure_secret`
2022-07-31 03:09:05 +00:00
## Configuration
### Application
2023-01-25 23:59:18 +00:00
To configure [Apache Guacamole] to utilize Authelia as an [OpenID Connect 1.0] Provider use the following configuration:
2022-07-31 03:09:05 +00:00
```yaml
openid-client-id: guacamole
openid-scope: openid profile groups email
openid-issuer: https://auth.example.com
openid-jwks-endpoint: https://auth.example.com/jwks.json
openid-authorization-endpoint: https://auth.example.com/api/oidc/authorization?state=1234abcedfdhf
openid-redirect-uri: https://guacamole.example.com
openid-username-claim-type: preferred_username
openid-groups-claim-type: groups
```
### Authelia
The following YAML configuration is an example __Authelia__
2023-05-15 00:32:10 +00:00
[client configuration ](../../../configuration/identity-providers/openid-connect/clients.md ) for use with
2022-07-31 03:09:05 +00:00
[Apache Guacamole] which will operate with the above example:
```yaml
2023-04-02 03:12:01 +00:00
identity_providers:
oidc:
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
## See: https://www.authelia.com/c/oidc
clients:
2023-05-07 06:39:17 +00:00
- id: 'guacamole'
description: 'Apache Guacamole'
2023-04-02 03:12:01 +00:00
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
public: false
2023-05-07 06:39:17 +00:00
authorization_policy: 'two_factor'
2023-04-02 03:12:01 +00:00
redirect_uris:
2023-05-07 06:39:17 +00:00
- 'https://guacamole.example.com'
2023-04-02 03:12:01 +00:00
scopes:
2023-05-07 06:39:17 +00:00
- 'openid'
- 'profile'
- 'groups'
- 'email'
2023-04-02 03:12:01 +00:00
response_types:
2023-05-07 06:39:17 +00:00
- 'id_token'
2023-04-02 03:12:01 +00:00
grant_types:
2023-05-07 06:39:17 +00:00
- 'implicit'
2023-05-15 00:32:10 +00:00
userinfo_signing_alg: 'none'
2022-07-31 03:09:05 +00:00
```
## See Also
* [Apache Guacamole OpenID Connect Authentication Documentation ](https://guacamole.apache.org/doc/gug/openid-auth.html )
[Authelia]: https://www.authelia.com
[Apache Guacamole]: https://guacamole.apache.org/
2023-01-25 23:59:18 +00:00
[OpenID Connect 1.0]: ../../openid-connect/introduction.md
2022-07-31 03:09:05 +00:00