---
title: "fastapi-sso 0.23.0 Breaking Changes on PyPI | Since.dev"
description: "What each fastapi-sso release removed, renamed or changed: 30 breaking changes in 5 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/fastapi-sso
last_updated: 2026-12-04
---

# fastapi-sso breaking changes

fastapi-sso 0.23.0 (September 21, 2026) is its newest release with breaking changes, 22 of them. The first: Signature changed fastapi_sso.sso.apple.DiscoveryDocument. Every breaking API change we have recorded in fastapi-sso on PyPI: 30 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.23.0`, released September 21, 2026. [Source repository](https://github.com/tomasvotava/fastapi-sso)

Its 0.21.0 release drops [Python 3.9](https://since.dev/calendar/python/3.9.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.18.0](#v-0-18-0) to [0.23.0](#v-0-23-0): 28 breaking changes in 4 versions.

## fastapi-sso 0.23.0 breaking changes

fastapi-sso 0.23.0, released September 21, 2026: 22 breaking changes.

- **Signature changed** `fastapi_sso.sso.apple.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.base.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.bitbucket.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.discord.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.facebook.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.fitbit.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.generic.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.github.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.gitlab.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.google.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.kakao.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.line.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.linkedin.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.microsoft.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.naver.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.notion.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.seznam.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.soundcloud.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.spotify.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.tidal.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.twitter.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)
- **Signature changed** `fastapi_sso.sso.yandex.DiscoveryDocument`  

Was class DiscoveryDocument(TypedDict); now class DiscoveryDocument(\_DiscoveryDocumentBase). [pypi.org](https://pypi.org/project/fastapi-sso/0.23.0/)

## fastapi-sso 0.22.0 breaking changes

fastapi-sso 0.22.0, released August 31, 2026: 4 breaking changes.

- **Behavior changed**  

The sso_state cookie is set with HttpOnly, SameSite=lax and Secure unless allow_insecure_http is enabled. Code that reads this cookie from JavaScript or sends it cross-site may be affected. [github.com](https://github.com/tomasvotava/fastapi-sso/commit/bbb1ace49c2737f9a9f46b473d496497aba69a35)
- **Behavior changed**  

Login flows that do not carry the sso_state cookie back to the callback now fail with 401 State cookie not found. Users who build redirects or serve login and callback from different hosts must make sure the cookie is returned. [github.com](https://github.com/tomasvotava/fastapi-sso/commit/bbb1ace49c2737f9a9f46b473d496497aba69a35)
- **Behavior changed** `get_login_url`  

Callers that build their own redirect with get_login_url now get a SecurityWarning at login time. The callback will be rejected unless the sso_state cookie is set. [github.com](https://github.com/tomasvotava/fastapi-sso/commit/bbb1ace49c2737f9a9f46b473d496497aba69a35)
- **Default changed** `SSOBase.requires_state`  

SSOBase.requires_state now defaults to True, so callbacks without a matching sso_state cookie are rejected. To keep the old behaviour, set requires_state to False on the instance, at the cost of CSRF protection. [github.com](https://github.com/tomasvotava/fastapi-sso/commit/bbb1ace49c2737f9a9f46b473d496497aba69a35)

## fastapi-sso 0.21.0 breaking changes

fastapi-sso 0.21.0, released February 24, 2026: 1 breaking change.

- **Behavior changed**  

Python 3.9 is no longer supported, so users on Python 3.9 must upgrade Python before using this release. [github.com](https://github.com/tomasvotava/fastapi-sso/releases/tag/0.21.0)

## fastapi-sso 0.19.0 breaking changes

fastapi-sso 0.19.0, released December 17, 2025: 1 breaking change.

- **Behavior changed**  

OAuth login callbacks now validate the state parameter, so logins without a matching state are rejected. Check that your OAuth login flow passes the state value through unchanged. [github.com](https://github.com/tomasvotava/fastapi-sso/releases/tag/0.19.0)

## fastapi-sso 0.18.0 breaking changes

fastapi-sso 0.18.0, released March 20, 2025: 2 breaking changes.

- **Removed**  

The package no longer supports Python 3.8; users on Python 3.8 must upgrade their Python version to keep using this release. [github.com](https://github.com/tomasvotava/fastapi-sso/releases/tag/0.18.0)
- **Behavior changed**  

LinkedIn userinfo is now taken from the ID token instead of the previous source, so code relying on the old userinfo fields may see different results. [github.com](https://github.com/tomasvotava/fastapi-sso/releases/tag/0.18.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
