Skip to content

Swedish PodMe login fails with code: None during OAuth — 400 Bad Request #10

Closed

Description

Hi there,

I'm a Swedish PodMe premium user trying to use Pasjonfrukt (which depends on podme-api) to harvest episodes from PodMe-hosted podcasts. Everything is set up correctly — I’ve verified my credentials, confirmed the podcast slugs, and tested with multiple shows including:

den-som-skrattar-forlorar-podcast-2

mardromsgasten

However, the login flow fails consistently with the following error:

ClientResponseError: 400, message='Bad Request', url='https://payment.schibsted.no/oauth/token'

Digging into the traceback, I noticed that the code field in the OAuth payload is None, which seems to be the root cause. Here's a snippet from the failure log:

'grant_type': 'authorization_code',
'code': None,
'redirect_uri': 'pme.podme.62557b19f552881812b7431c:/login',

I'm based in Sweden, and PodMe accounts here authenticate via Schibsted Sweden (schibsted.se). But the login request is being sent to the Norwegian endpoint (schibsted.no), which likely causes the OAuth flow to break.

This results in a 400 Bad Request when trying to exchange the code for a token.

I understand that Norwegian PodMe accounts work fine — and Pasjonfrukt’s author confirmed that the tool was built with Norway in mind. It seems the Swedish Schibsted login flow has subtle differences that break compatibility.

Would you be open to reviewing this or guiding me on how to adapt the login flow for Swedish users? I’d be happy to help test or provide more details if needed.

Thanks so much for your work on this project!

Best regards, Robert from Sweden

Activity

  1. robertseifert28-ship-it commented on Oct 28, 2025

    @robertseifert28-ship-it
    Author

    UPDATE: After looking at the latest Pull Request, I tried to merge the new Client ID, and it worked! We can close this if the pull request will be used !

  2. self-assigned this
    on Oct 28, 2025
  3. bendikrb commented on Oct 28, 2025

    @bendikrb
    Owner

    Thanks! I've merged #9 and released it v1.4.3.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions