Skip to content

This plugin is compatible with wp-oauth ? #106

@abnerjacobsen

Description

@abnerjacobsen

Hi,

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:

Cannot create a user with empty username.

Any idea how to solve this problem ?

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions