Skip to content

Commit 77937c0

Browse files
authored
Merge pull request #10 from OSSMafia/mnick/9
chore: fix error in documentation
2 parents 47bc4be + 98f25f9 commit 77937c0

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.0.6
2+
current_version = 0.0.7
33
commit = True
44
tag = True
55

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,10 @@ from fastapi.responses import JSONResponse
8383
from fastapi.encoders import jsonable_encoder
8484

8585
clerk_config = ClerkConfig(
86-
jwks_url="https://your-clerk-frontend-api.clerk.accounts.dev/.well-known/jwks.json",
87-
add_state=True
86+
jwks_url="https://your-clerk-frontend-api.clerk.accounts.dev/.well-known/jwks.json"
8887
)
8988

90-
clerk_auth_guard = ClerkHTTPBearer(config=clerk_config)
89+
clerk_auth_guard = ClerkHTTPBearer(config=clerk_config, add_state=True)
9190

9291
router = APIRouter(prefix="/todo", dependencies=[Depends(clerk_auth_guard)])
9392

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "fastapi_clerk_auth"
3-
version = "0.0.6"
3+
version = "0.0.7"
44
description = "FastAPI Auth Middleware for Clerk (https://clerk.com)"
55
readme = "README.md"
66
requires-python = ">=3.9"

0 commit comments

Comments
 (0)