Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Improve usage under configs with no auth

Open
#47 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, react, redux

Research direction

Start by tracing the Sign In button and the existing auth/ oauth1.js and oauth2.js providers for configurations without authentication settings. Review the proposed auth/none.js entry point and the README, then determine which UI state, authentication error handling, and documentation changes are in scope. Done means unauthenticated configurations no longer attempt OAuth and present the intended UI.

Written by the indexing model from the issue text.

Description

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.
Dominant language
JavaScript
Stars
73
Forks
23
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Automattic/wp-api-console

All issues in Automattic/wp-api-console

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.