Skip to content

Improve usage under configs with no auth #47

@nylen

Description

@nylen

If we don't specify authentication settings in a configuration here is what happens after clicking the Sign In button:

WP.com

image

WP core (without OAuth1 plugin installed)

image

WP core (with OAuth1 plugin installed)

image

Next steps

  • Maybe add a new auth provider auth/none.js and use it if the required parameters are not present - it doesn't make sense to have requests go through oauth1.js or oauth2.js if we know there is no auth.
  • Detect this condition and make some UI changes accordingly (disable the Sign In button; maybe show an "unauthed" indicator instead).
  • Add a note to the readme about this.
  • Improve error handling for authentication requests in general.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions