Git Product home page Git Product logo

starlette-authlib's People

Contributors

aogier avatar deepcyrille avatar dependabot-preview[bot] avatar dependabot[bot] avatar lannuttia avatar lgtm-migrator avatar rajeev-optum avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

starlette-authlib's Issues

Your .dependabot/config.yml contained invalid details

Dependabot encountered the following error when parsing your .dependabot/config.yml:

The property '#/' did not contain a required property of 'update_configs'
The property '#/' contains additional properties ["updates"] outside of the schema when none are allowed
The property '#/version' value 2 did not match one of the following values: 1

Please update the config file to conform with Dependabot's specification using our docs and online validator.

Store session cookie in database

Is there any way to store the cookie in a database after creating it?

My requirement is that I need to be able to logout all of a user's sessions without having to wait until the token expires. To do this I want to store the token in a database associated with the user such that on logout all of their sessions can be logged out by removing the cookies from the db.

Looking through the code it looks like this may only be possible by adding some custom middleware after the cookie encoding and saving it from there but this does not feel like a clean solution.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Other Branches

These updates are pending. To force PRs open, click the checkbox below.

  • Update dependency authlib to v1.3.1 [SECURITY]
  • Update dependency requests to v2.32.3

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

dockerfile
Dockerfile
  • python 3.10
github-actions
.github/workflows/codeql.yml
  • actions/checkout v4
  • github/codeql-action v3
  • github/codeql-action v3
  • github/codeql-action v3
.github/workflows/release.yaml
  • actions/checkout v4
.github/workflows/test.yaml
  • actions/checkout v4
pep621
pyproject.toml
  • poetry >=0.12
poetry
pyproject.toml
  • python ^3.7
  • authlib <1.4
  • starlette <0.38
  • autoflake <2.3
  • black ^23
  • codecov ^2.1.12
  • httpx ^0.24.0
  • mypy ^1.1
  • pre-commit 2.21.0
  • pytest ^7
  • pytest-cov ^4
  • requests ^2.28.2
  • isort ^5.11.5

  • Check this box to trigger a request for Renovate to run again on this repository

Middleware Does Not Honor nbf Claim

Issue:
If an nbf registered claim is provided to this middleware, it is not honored.

Expected:
If an nbf claim is provided and it is in the future, then the session dict should be empty since the session is not technically valid.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.