Skip to content
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

wp-login.php?redirect_to={mysiteURL} redirect 500 error #544

Open
frontend-helper opened this issue May 29, 2024 · 4 comments
Open

wp-login.php?redirect_to={mysiteURL} redirect 500 error #544

frontend-helper opened this issue May 29, 2024 · 4 comments

Comments

@frontend-helper
Copy link

I'm new to WordPress and trying to integrate OAuth client via this plugin. But when I tried to login it is throwing error 500 internal server error.

When I turn on debug mode I see error that
redirect_uri is undefined.

Please help me on the issue.

Review Wiki
Please be sure to check the GitHub Wiki to see if your question has already been answered.

General usage questions
If your question hasn't been answered in the Wiki please be as descriptive as possible when asking your question.

@frontend-helper frontend-helper changed the title wp-logim.php redirect 500 error wp-login.php?redirect_to={mysiteURL} redirect 500 error May 29, 2024
@timnolte
Copy link
Collaborator

timnolte commented May 29, 2024

What IDP are you using when configuring the plugin? Also are you trying to use the alternative redirect URI option? The redirect URI that you need to configure in your IDP is listed on the settings screen and is required to be configured in the IDP when creating a new client.

@timnolte
Copy link
Collaborator

What IDP are you using when configuring the plugin? Also are you trying to use the alternative redirect URI option? The redirect URI that you need to configure in your IDP is listed on the settings screen and is required to be configured in the IDP when creating a new client.

Also, are you entering {mysiteURL} somewhere in code? That doesn't look like a valid value.

@frontend-helper
Copy link
Author

{MysiteURL} is just a place holder, i'm using my actual domain URL here.

I'm using OAuth 2.0

@frontend-helper
Copy link
Author

frontend-helper commented May 30, 2024

Exact error is

Fatal error: Call to undefined function apply_filters_deprecated() in /var/www/html/wp-content/plugins/erhart-openid-connect-generic3/includes/openid-connect-generic-client-wrapper.php on line 187.

And where to change the redirect URI ? I can see the alternate redirect uri checkbox but not getting text filed to enter the URL.

In my IDP, I've configured redirectURI as https://mydomain.net/openid-connect-authorize.

Do I need to change anything for wordpress address and site address ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants