Has anyone got teams imported from oidc working as public teams?
I’ve enabled public teams via env variable and it works with teams created inside Vikunja. But can’t make it work with oidc teams.
I’ve created this mapping in Authentik:
groupsDict = {"vikunja_groups": []}
viewable_groups_whitelist=["zaufani", "vikunja", "ateam"]
for group in request.user.ak_groups.all():
if group.name in viewable_groups_whitelist:
groupsDict["vikunja_groups"].append({"name": group.name, "oidcID": group.num_pk, "isPublic": True})
else:
groupsDict["vikunja_groups"].append({"name": group.name, "oidcID": group.num_pk})
return groupsDict
I’ve set my provider to use this mapping and when I check sample user the output to me looks ok, the “isPublic” field is there:
"vikunja_groups": [
{
"name": "proxmox_admins",
"oidcID": 24944
},
{
"name": "zaufani",
"oidcID": 18155,
"isPublic": true
},
{
"name": "vikunja",
"oidcID": 40049,
"isPublic": true
},
{
"name": "publicznatest",
"oidcID": 48555
},
{
"name": "ateam",
"oidcID": 29397,
"isPublic": true
}
]
When the user assigned to those public groups logs in the teams can be seen in the Teams panel.
But sadly when user who is not member of those oidc groups tries to add them to the project those teams are nowhere to be found.
Is there something I’m missing? Is there a fix?