Hi all,


I have been running Guacamole with LDAP authentication (and MariaDB as database 
backend) for a couple of weeks now and I am currently exploring switching to 
OpenID Connect based auth.

I have got the authentication itself working as I can access the web interface 
but I’m not sure how to use this with the REST API: I like to administer my 
Guacamole instance for our dozens of users through Ansible, and I have until 
now been using something like this to get a token:

    - name: "Authenticate as {{ guacadmin_username }}"
      uri:
        url: "{{ guacamole_url }}/api/tokens"
        body_format: form-urlencoded
        body:
          username: "{{ guacadmin_username }}"
          password: "{{ guacadmin_password }}"
        method: POST
        status_code: 200
        return_content: True
      register: guactoken
      become: False


This approach no longer works since switching to OIDC, which I kind of expected 
given that I need to go the OpenID provider sign-in page to get authenticated. 

Any thoughts on how I can get my authToken now?

Thanks in advance!

Tom


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org

Reply via email to