mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[PR #812] [CLOSED] Add possibility for 'user-auth' authorization #1434
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#1434
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/binwiederhier/ntfy/pull/812
Author: @Nanowires
Created: 7/6/2023
Status: ❌ Closed
Base:
main← Head:addUserHeaderAuth📝 Commits (2)
7126af6Refine user header code5f0c30aAdded tests for the user-header authentication📊 Changes
5 files changed (+122 additions, -11 deletions)
View changed files
📝
cmd/serve.go(+5 -0)📝
server/config.go(+2 -0)📝
server/server.go(+46 -9)📝
server/server.yml(+14 -0)📝
server/server_test.go(+55 -2)📄 Description
Another PR for #601
Mostly copied from #602
Same as the original author: I'm not particularly familiar with go, or the ntfy code base, I haven't tried to run this code.
If I have time I will try to add tests in the next few days.
I'm also not sure about the way to trace here (e.g. in case that the user-header is set and the client sent one, but the user is not found)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.