Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.
This repository was archived by the owner on May 13, 2024. It is now read-only.

better invite system #3

Description

@byteplow

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

  • checking invites
    • proxy for POST /self-service/registration (this is the endpoint responsible for registering the account)
    • the proxy checks if the invite is valid
    • the proxy invalidates the invite if the registration was successful
  • invites
    • invites could be stored in keto, my app already uses keto and than there is no extra db requirement
    • invites should be persisted
    • invites should be linked to created and user

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions