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

fix: set inviting user user after successful registration #10

Open
Tracked by #3
byteplow opened this issue Jul 31, 2022 · 2 comments
Open
Tracked by #3

fix: set inviting user user after successful registration #10

byteplow opened this issue Jul 31, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@byteplow
Copy link
Owner

byteplow commented Jul 31, 2022

expected behavior

After a successful the registration should, make the new user as invited by the invite create.

actual behavior

This is not possible as the new user is marked by its id. The id is not known at the point of the proxy receiving the valid response.

@byteplow byteplow mentioned this issue Jul 31, 2022
7 tasks
@byteplow
Copy link
Owner Author

a webhook also dose not work. As the webhook dose not know the invite token

@byteplow
Copy link
Owner Author

it might be possible to extract the users session and xsrf token. And then request the session, to get the id.

this requires the session hook to be configured for all login methods. This is might be ok. It's probably the configuration I'm aiming for anyways.

@byteplow byteplow added the bug Something isn't working label Jul 31, 2022
@byteplow byteplow changed the title fix set user after successful registration fix: set inviting user user after successful registration Jul 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant