You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use authorizer using an custom OAUTH server create usin this wordpress plugin https://wp-oauth.com/.
I have wpsite_A actings as an OAUTH server using https://wp-oauth.com/ and another wp and wpsite_B site were I installed authorizer.
When I go to wpsite_B login page and ask to use authorizer SSO I get redirect to wpsite_A login page, fill user/password fields and when redirected to wpsite_B, after successfull login, I got these warnings:
Warning: explode() expects parameter 2 to be string, array given in /home/343858.cloudwaysapps.com/cwtzgadggz/public_html/wp-content/plugins/authorizer/src/authorizer/class-authentication.php on line 584
Warning: current() expects parameter 1 to be array, null given in /home/343858.cloudwaysapps.com/cwtzgadggz/public_html/wp-content/plugins/authorizer/src/authorizer/class-authentication.php on line 584
And in the login page o wpsite_B the login is denied with this message:
Aloha, thanks for providing wp-oauth.com testing. We have found and fixed the bug, and a new release will be out shortly, version 3.2.1. Please test when that happens and let us know if it fixes your issue. Thanks! ba7ee58
Activity
figureone commentedon Oct 22, 2021
Can you hook into
authorizer_oauth2_generic_authenticated_emailand let us know what values are in the$emailand$attributesparams?authorizer/src/authorizer/class-authentication.php
Lines 573 to 580 in 5ebd711
Alternatively you could create an account for me on your wp-oauth server and I can test it as an endpoint and see what's up.
You can DM me on WordPress slack (@figureone) if providing any sensitive data.
https://make.wordpress.org/chat/
Thanks!
abnerjacobsen commentedon Oct 29, 2021
Paul,
I have sent to you the server url and user in WP slack chat.
Thanks,
figureone commentedon Nov 1, 2021
Aloha, thanks for providing wp-oauth.com testing. We have found and fixed the bug, and a new release will be out shortly, version
3.2.1. Please test when that happens and let us know if it fixes your issue. Thanks!ba7ee58