diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 736de49..b1d1453 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.0.2 +current_version = 0.0.3 commit = True tag = True diff --git a/README.md b/README.md index 5863740..405b1ee 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,11 @@ FastAPI Auth Middleware for [Clerk](https://clerk.com) +Easily setup authentication on your API routes using your Clerk JWKS endpoint. + ## Install ```bash -pip install fastapi-clerk +pip install fastapi-clerk-auth ``` ## Basic Usage @@ -19,9 +21,9 @@ app = FastAPI() clerk_config = ClerkConfig(jwks_url="https://example.com/.well-known/jwks.json") # Use your Clerk JWKS endpoint -clear_auth_guard = ClerkHTTPBearer(config=clerk_config) +clerk_auth_guard = ClerkHTTPBearer(config=clerk_config) @app.get("/") -async def read_root(credentials: HTTPAuthorizationCredentials | None = Depends(clear_auth_guard)): +async def read_root(credentials: HTTPAuthorizationCredentials | None = Depends(clerk_auth_guard)): return JSONResponse(content=jsonable_encoder(credentials)) ``` \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index c4a7479..5c65bcd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "fastapi_clerk_auth" -version = "0.0.2" -description = "FastAPI Auth Middleware for [Clerk](https://clerk.com)" +version = "0.0.3" +description = "FastAPI Auth Middleware for Clerk (https://clerk.com)" readme = "README.md" requires-python = ">=3.9" authors = [