Skip to content

Can a webhook supply user uuid as parameter to external API? #443

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
plankconst opened this issue Jan 23, 2020 · 0 comments
Open

Can a webhook supply user uuid as parameter to external API? #443

plankconst opened this issue Jan 23, 2020 · 0 comments

Comments

@plankconst
Copy link

plankconst commented Jan 23, 2020

Can a webhook supply user uuid as parameter to external API?

Description

During a user.create action, I can use a webhook to call my external API from FusionAuth.

However, the webhook.headers request body is a [Map<String, String>] that is fixed. Because the webhook needs to be saved in advance of the triggering action.

Is there a way to pass information, particularly the uuid to the webhook URL?

Just an idea:
It would be useful if not just pre-defined headers can be sent, but actually some basic user information as a JSON string in the http body. This could be optionally set by the user for the webhook. Such as include [x] include user information [ ] action-status [ ] jwt.

This way, the webhooks can do significantly more dynamic functionality at the external API.

Or alternatively, the webhook.headers could contain some way of adding dynamic information, such as "userid {{uuid}}" that is dynamic.

Related

@andrewpai andrewpai added this to the 1.48.0 milestone Jul 28, 2023
@mmanes mmanes removed this from the 1.48.0 milestone Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants