mirror of
https://github.com/B16f00t/whapa.git
synced 2026-04-25 02:45:59 +03:00
[PR #247] [MERGED] Fix OAuth authentication #243
Labels
No labels
enhancement
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whapa#243
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/B16f00t/whapa/pull/247
Author: @davispuh
Created: 12/10/2025
Status: ✅ Merged
Merged: 12/11/2025
Merged by: @B16f00t
Base:
master← Head:master📝 Commits (3)
66a4cfeBackport a4cad3a: urllib3 >= 2.0 uses system default ciphers9aa94a3Backport 8a52124: Add support for logging in via an OAuth token2355737Fix OAuth authentication📊 Changes
2 files changed (+79 additions, -3 deletions)
View changed files
📝
libs/gpsoauth/__init__.py(+63 -1)📝
libs/whagodri.py(+16 -2)📄 Description
Currently OAuth authentication is broken.
You will always get
{'Error': 'Unknown'}This PR fixes that.
See https://github.com/simon-weber/gpsoauth?tab=readme-ov-file#alternative-flow
This PR also backports these:
github.com/simon-weber/gpsoauth@a4cad3a974github.com/simon-weber/gpsoauth@8a5212481fgpsoauth.perform_oauth()needsmaster tokenand not OAuth token.Password authentication /
perform_master_login()is also broken as I couldn't get it to work so I'm not fixing it and leaving it as is (broken).If someone figures that out then you should drop included
gpsoauthand just use upstream https://github.com/simon-weber/gpsoauth🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.