Replace hard-coded Basic auth header with -u flag in curl examples in documentation
Open
@senthuran16 is already working on this.
Since May 14, 2026.
- Dominant language
- Go
- Stars
- 71
- Forks
- 111
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 110
Description
Summary
In the documentation (e.g., event-gateway/README.md and related files), curl examples embed credentials as a Base64-encoded Authorization: Basic header literal (e.g., --header 'Authorization: Basic YWRtaW46YWRtaW4='). This should be replaced with curl's -u option (e.g., -u admin:admin or -u <user>:<pass>) for clarity and to avoid publishing credential-like encoded strings directly in documentation.
References
- PR: https://github.com/wso2/api-platform/pull/1954
- Review comment: https://github.com/wso2/api-platform/pull/1954#discussion_r3239562662
- Related comments in PR #1944
Requested by
@senthuran16
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.