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

MegamindAme's avatar

MegamindAme wrote a reply+100 XP

13h ago

Herd vanity domain not passing oAuth validation

From the Herd website

https:// herd.laravel. com/docs/macos/advanced-usage/social-auth#using-the-fwd-host-webservice

When implementing social authentication in your Laravel application, you may face the issue that Herd’s .test domain is not recognized by the social authentication providers. This is because they often require a public top-level domain (TLD) for their callback URLs. Herd does not support changing the .test domain to a public TLD, because that would introduce serious security issues to your machine – but we can work around this. ​ Using the fwd.host Webservice We’ve created a web service that acts as a proxy for your redirects and does not store any data. You can use this service to handle social authentication callbacks by setting your callback URLs to https:// fwd. host/http: //your-herd-site. test/auth/callback. This way, the social authentication provider will redirect to fwd.host, which will then forward the request to your Herd site.