-
Notifications
You must be signed in to change notification settings - Fork 147
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
Add mailhog and ngrok descriptions #281
Conversation
Also - I'll add exposing localhost info to the apps section in the separate PR |
There are situations when you would like to expose your local environment to external clients, for example: | ||
|
||
- show your project to the manager. | ||
- integrate with the new payment gateway, which requires a return URL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't work. There is a settings.ALLOWED_CLIENT_HOSTS which defines where user can be redirected. If you don't overwrite this variable, the allowed redirect URL will be 127.0.0.1 and localhost. Any different than this will raise an error. The same case is for the situation when you're hosting storefront somewhere, and you use ngrok to connect it to your backend (all mutation like, reset password, send activation URL will raise an exception, afair).
Co-authored-by: Karol <57907951+karolkielecki@users.noreply.github.com>
Co-authored-by: Karol <57907951+karolkielecki@users.noreply.github.com>
Close #81