byteplow / idd4

my idm ui for ory hydra and kratos
Apache License 2.0
1 stars 0 forks source link

better invite system #3

Open byteplow opened 2 years ago

byteplow commented 2 years ago

current

The current invite system creates a new account and provides a recovery link. This creates a lot of accounts on accident. How ever has access to the link also has access to the account for a short time.

goal

Use registration flow/api for invites. But guard it with an registration token. Which is invalidated after one use.

tasks

design

byteplow commented 2 years ago

keto rules

namespace: invites oldUser#invited_by@newUser oldUser#invited_by@(newUser#invited_by) invite#created_by@user endpoint#access@invite

endpoint <= full url

on creation
pros
byteplow commented 2 years ago

8 did not resole all task