Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
treat missing groups as an empty list (#40)
Comments in code, but compare... User who does not have any groups (expect empty groups claim, but get missing claim): ```xml <AttributeStatement> <Attribute Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"> <AttributeValue>John.Doe@example.com</AttributeValue> </Attribute> <Attribute Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname"> <AttributeValue>John</AttributeValue> </Attribute> <Attribute Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname"> <AttributeValue>Doe</AttributeValue> </Attribute> </AttributeStatement> ``` User who _does_ have groups: ```xml <AttributeStatement> <Attribute Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"> <AttributeValue>Jane.Doe@example.com</AttributeValue> </Attribute> <Attribute Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname"> <AttributeValue>Jane</AttributeValue> </Attribute> <Attribute Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname"> <AttributeValue>Doe</AttributeValue> </Attribute> <Attribute Name="http://schemas.microsoft.com/ws/2008/06/identity/claims/groups"> <AttributeValue>role-Netbox-Admin</AttributeValue> </Attribute> </AttributeStatement> ```
- Loading branch information