-
Notifications
You must be signed in to change notification settings - Fork 92
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
redirect_to param in auth0 shortcode not working #870
Comments
Hi @maxi07 👋 Thanks for reaching out! So, I've tested the shortcut with 4.5.0, but unfortunately I wasn't able to reproduce the issue you're seeing. In my test: [auth0 form_title="Please login on my WP blog" redirect_to="https://wordpress.test/homepage"] Correctly redirects to the URL specified. Can you confirm you are assigning |
Hi @evansims, no the redirect_to currently points to an external site. Does the redirect param only only work with sites from the same domain? |
Hi @maxi07 — that's correct, the parameter needs to point to a path on the same domain. |
Thanks, I couldn't find that information in the documentation. |
Describe the problem
The auth0 wordpress shortcode redirection param does not work for me.
What was the expected behavior?
I added the redirect_to param into the shortcode to redirect the user to a specific site after successfull authenfication. But after signing in, i get redirected to the main page.
Reproduction
The shortcode used is
[auth0 form_title="Please login on my WP blog" redirect_to="https://mycustomsite.com"]
. The formtitle is being changed, so the params seem to work in general.Environment
The text was updated successfully, but these errors were encountered: