Speed up client and authorization lookup with database indexes #12

Open
ansv7779 wants to merge 1 commits from slow-login into main
Owner

During a normal OIDC login workflow (authentication/consent, code exchange, and user info lookup), that results in SQL queries filtering on columns that are now indexed. Before it used to table scan which was extremely slow.

During a normal OIDC login workflow (authentication/consent, code exchange, and user info lookup), that results in SQL queries filtering on columns that are now indexed. Before it used to table scan which was extremely slow.
ansv7779 added 1 commit 2026-01-13 14:53:38 +01:00
Speed up client and authorization lookup with database indexes
All checks were successful
/ build (push) Successful in 3m28s
6c2f90774d
During a normal OIDC login workflow (authentication/consent, code exchange, and user info lookup), that results in SQL queries filtering on columns that are now indexed. Before it used to table scan which was extremely slow.
All checks were successful
/ build (push) Successful in 3m28s
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin slow-login:slow-login
git checkout slow-login
Sign in to join this conversation.
No Reviewers
No Label
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DMC/oauth2-authorization-server#12
No description provided.