auth0/auth0.net

EmailVerificationTicketRequest is missing ClientId parameter

bellascalzi1 opened this issue · 2 comments

Checklist

  • I have looked into the Readme and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

As seen in this previous issue for the PasswordChangeTicketRequest: #463, the documentation for the "Create an email verification ticket" Management API endpoint supports adding a "ClientId" parameter, but it is not possible to add this currently using the SDK. It would be great if this could be added, as it would allow the correct app name to be displayed in the button that redirects the user when the email verification link that is generated is clicked. Currently the app name defaults to "All Applications", as can be seen in the screenshot I've put in the "Additional Context" section.

As an aside, if the fix for this is as simple as creating a PR like this: #464, I would be more than happy to do this myself. Let me know if this is something you guys would like me to do.

Describe the ideal solution

The user is able to specify the ClientId in the EmailVerificationTicketRequest

Alternatives and current workarounds

As a workaround what I think I will do is configure some custom text for that page via the dashboard.

Additional context

Screenshot of email verification complete page displaying "All Applications".
email-verification-ticket-clientid

Thanks for reporting this!

The fix should be the same as #464, yes. Happy to review a PR if you want to provide one!

Thanks, PR is up: #629