[GH-ISSUE #241] how to use Oauth to login? #209

Open
opened 2026-02-25 20:34:54 +03:00 by kerem · 2 comments
Owner

Originally created by @alanpinheirolp on GitHub (May 24, 2025).
Original GitHub issue: https://github.com/B16f00t/whapa/issues/241

Can you show some example?

Originally created by @alanpinheirolp on GitHub (May 24, 2025). Original GitHub issue: https://github.com/B16f00t/whapa/issues/241 Can you show some example?
Author
Owner
<!-- gh-comment-id:3639498427 --> @davispuh commented on GitHub (Dec 11, 2025): Currently it's broken, but I fixed it with #247 and then follow https://github.com/giacomoferretti/whatsapp-backup-downloader-decryptor?tab=readme-ov-file#getting-the-oauth_token https://github.com/simon-weber/gpsoauth?tab=readme-ov-file#alternative-flow
Author
Owner

@southall01 commented on GitHub (Dec 12, 2025):

I'm new on this, and istill don't know where i right down this

( import gpsoauth

email = 'example@gmail.com'
android_id = '0123456789abcdef'
token = '...' # insert the oauth_token here

master_response = gpsoauth.exchange_token(email, token, android_id)
master_token = master_response['Token'] # if there's no token check the response for more details

auth_response = gpsoauth.perform_oauth(
email, master_token, android_id,
service='sj', app='com.google.android.music',
client_sig='...')
token = auth_response['Auth'] )

Please some help

<!-- gh-comment-id:3648457087 --> @southall01 commented on GitHub (Dec 12, 2025): I'm new on this, and istill don't know where i right down this ( import gpsoauth email = 'example@gmail.com' android_id = '0123456789abcdef' token = '...' # insert the oauth_token here master_response = gpsoauth.exchange_token(email, token, android_id) master_token = master_response['Token'] # if there's no token check the response for more details auth_response = gpsoauth.perform_oauth( email, master_token, android_id, service='sj', app='com.google.android.music', client_sig='...') token = auth_response['Auth'] ) Please some help
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whapa#209
No description provided.