byteplow / idd4

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

fix: set inviting user user after successful registration #10

Open byteplow opened 2 years ago

byteplow commented 2 years ago

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 commented 2 years ago

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

byteplow commented 2 years ago

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.