Skip to content

Commit

Permalink
Merge pull request #44 from avantifellows/main
Browse files Browse the repository at this point in the history
Production Deployment
  • Loading branch information
Bahugunajii authored Mar 13, 2024
2 parents be7f2e7 + cbce50a commit f28634e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@

origins = [
"http://localhost:8080",
"http://localhost:3000",
"https://staging-auth.avantifellows.org",
"https://auth.avantifellows.org",
"https://staging-gurukul.avantifellows.org",
"https://gurukul.avantifellows.org",
]

app.add_middleware(
Expand Down
1 change: 0 additions & 1 deletion app/router/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ def index():
# if user is valid, generates both access token and refresh token. Otherwise, only an access token.
@router.post("/create-access-token")
def create_access_token(auth_user: AuthUser, Authorize: AuthJWT = Depends()):
print(auth_user)
refresh_token = ""
data = auth_user.data

Expand Down

0 comments on commit f28634e

Please sign in to comment.