Authentik add user vikunja to specifed group

HI,

I test to add this implementation:

When user is connected to vikunja with authentik if the user look in Teams vikunja show the groupe created in authentik with (OIDC)

I need the user is added automatically to other groupe vikunja not present in authentik
how can i do this? it’s possible ? i don’t know/understadn how to do that … :frowning:

thank’s for your help

Looks like this may fall into one of 7.) or 8.) in the use cases

7.) In Vikunja I am in “team 3” with oidcID “”, but the token does not deliver any data for “team 3”:
You will stay in team 3 since it was not set by the oidc provider
8.) In Vikunja I am in “team 3” with oidcID “12345”, but the token does not deliver any data for “team 3”:
You will be signed out of all teams, which have an oidcID set and are not contained in the token. Especially if you’ve been the last team member, the team will be deleted.

EDIT:

this actually sounds more like use case 2:

In Vikunja Team with name “team 1” already exists, but has no oidcID set:
new team will be created called “team 1” with attribute oidcID: “33929”

Something like this would happen if you try to create the group from authentik again, AFAIK there is no easy way to migrate a vikunja team to authentik

Vikunja will only add users to groups which are provided by Authentik. It will not add users to groups which already exist in Vikunja.

Ok the result is exactly

how to add the ID if I create the same group in authentik and authentik send the information for user is in right group

example authentik group:
TEAM1
TEAM2

example groupe in vikunja already create:
TEAM A (history group created)
TEAM B (history group created)
TEAM1 (OIDC)
TEAM2 (OIDC)

If i create in authentik group : TEAM A and TEAM B, how to send/configure authentik to send TEAM A and TEAM B to vikunja and user is assigned in this group automatically ?

how to add in group admin user ? User in TEAM (no menu to add or modify the user in group created by authentik (TEAM 1 (OIDC) or alternate how to send/modify task to other teams

That’s not possible. To Vikunja, an existing group is different from one that is provided by Authentik.

Teams managed through Authentik do not have an admin in Vikunja. They are synced from Authentik, so it “owns” the Team, not Vikunja.

1 Like

OK thanks :slight_smile:

I understand how it’s work now :slight_smile:

but how can i move project to group created by authentik or it’s not possible ?

just tested this. if you assign a project (from Vikunja) to a group made (from Authentik), it will be shared with users in the group.

YEs but How can I move or own th project to news user, because user have create the project is not present now (account delete) and is not possible to move the owner and owner share with news teams ? gui or cli for move owner ?

It’s not (yet) possible to transfer ownership of a project, but planned for the next version.

If the user was deleted and the project was not shared with anyone, the project was deleted as well.

Good news, do you have a release date for the next version ?

The user is delete and before the user delete the project is shared with other user, but no user is admin in this project and user have not possibility to share with other teams… or I don’t know/view the option to do that in project property/share menu

It’s done when it’s done. I hope to release it this year, but can’t be more specific than that (mostly because I don’t know either. Estimation is hard.)

At least one user who had access to the project should be admin when the user was deleted. When you click on the share option, you should see a list of users who have access to the project, including the one who is admin.