Skip to content

Fix header name in docs/onAuth.md#2225

Merged
jcubic merged 1 commit intoisomorphic-git:mainfrom
fetsorn:patch-1
Oct 27, 2025
Merged

Fix header name in docs/onAuth.md#2225
jcubic merged 1 commit intoisomorphic-git:mainfrom
fetsorn:patch-1

Conversation

@fetsorn
Copy link
Contributor

@fetsorn fetsorn commented Oct 27, 2025

The doc string promises to reimplement default behaviour, and default header is called "Authorization", not "Authentication". User should expect this snippet to work exactly like the default onAuth.

The next doc string about "X-Authentication" is fine since it's clearly an example of a custom header.

I'm fixing a bug or typo

  • if this is your first time contributing, run npm run add-contributor and follow the prompts to add yourself to the README
  • squash merge the PR with commit message "fix: [Description of fix]"

@fetsorn fetsorn changed the title Fix header name in docs/nAuth.md Fix header name in docs/onAuth.md Oct 27, 2025
The doc string promises to reimplement default behaviour, and default header is called "Authorization", not "Authentication". User should expect this snippet to work exactly like the default onAuth.

The next doc string about "X-Authentication" is fine since it's clearly an example of a custom header.

docs: add @fetsorn as a contributor
@jcubic jcubic merged commit 1e8e650 into isomorphic-git:main Oct 27, 2025
4 checks passed
@isomorphic-git-bot
Copy link
Member

🎉 This PR is included in version 1.34.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments