Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

GimmeMylanta's avatar

Password Reset API being consumed from different frontend urls

Hey Guys,

I am following a tutorial found here https://medium.com/modulr/api-rest-with-laravel-5-6-passport-authentication-reset-password-part-4-50d27455dcca for developing an API.

Im wondering how it would be possible to consume this from different frontend URL's given that the password reset link in the email points to one domain.

Is it possible to send something that gives the email function a dynamic link to access?

I hope that makes sense.

0 likes
1 reply
bobbybouwmann's avatar

Well the url is something you can configure in every email, but you need to know some kind of reference to determine that! So either determine this based on the current user or a certain parameter that has been send along from the frontend. After that it's just a url ;)

Please or to participate in this conversation.