You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Nijil (Jira)" <ji...@apache.org> on 2021/07/30 11:25:00 UTC

[jira] [Created] (GUACAMOLE-1393) Deal with "hasgroups" claim in JWTs in implicit grant flow

Nijil created GUACAMOLE-1393:
--------------------------------

             Summary: Deal with "hasgroups" claim in JWTs in implicit grant flow
                 Key: GUACAMOLE-1393
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1393
             Project: Guacamole
          Issue Type: Bug
            Reporter: Nijil
         Attachments: image-2021-07-30-16-49-47-702.png

In implicit grant flows, there is no 'groups' claim in the JWTs. It has "hasgroups" claim only, the application has to make another API call to get group details.  

See -> [https://docs.microsoft.com/en-us/azure/active-directory/develop/access-tokens#payload-claims]

–

!image-2021-07-30-16-49-47-702.png!

–

From GUACAMOLE-1172, I understand that guacamole expects "groups" claim in JWT. Since the claim doesn't present, guacamole doesn't grant permissions of identical group created in database, to the user(member of the identical group in Azure) authenticated via Azure AD.

 

 

[~mjumper] [~igardais]Kindly take a look 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)