Add Guacamole to Authentik

Sign in to Authentik

Goto Applications---> Applications---> Create
Name it what you want
Type in slug if needed. Must be in all small letters
Go down to UI Settings and chhose another icon if desired.
Click on create

Click on Provicers---> Create
Click on OAuth2/OpenID Provider
Click on Next
Name it what you desire
Authentication flow
----default-authentication-flow
Authorization flow
----default-provider-authorization-explicit-consent

In Authentik click on provider and the guacamole
app to get all the info needed below


cd ~/docker/guacamole/postgres/guacamole
sudo nano guacamole.properties
Overwrite the contents of the file and modify as needed.
----------------------------------
postgresql-hostname: localhost
postgresql-port: 5432
postgresql-database: guacamole_db
postgresql-username: guacamole
postgresql-password: null

# ldap-hostname: ldap.example.net
# ldap-port: 389
# ldap-encryption-method: none
# ldap-max-search-results: 1000
# ldap-search-bind-dn:
# ldap-search-bind-password:
# ldap-user-base-dn: ou=people,dc=example,dc=net
# ldap-username-attribute: uid
# ldap-user-search-filter: (objectClass=*)

openid-authorization-endpoint:
openid-jwks-endpoint:
openid-issuer:
openid-client-id:
openid-redirect-uri: https://guac.realety.me
openid-groups-claim-type: admins
extension-priority: openid

enable-clipboard-integration: true
-----------------------------------