Skip to content

Commit

Permalink
Merge pull request #822 from hotosm/fixes
Browse files Browse the repository at this point in the history
changed default http scheme to https
  • Loading branch information
nrjadkry authored Sep 11, 2023
2 parents 0d51e3d + d03bf77 commit 198bfe5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/backend/app/auth/auth_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def callback(request: Request, osm_auth=Depends(init_osm_auth)):
-------
- access_token (string)
"""
print("Call back api requested", request.url)
access_token = osm_auth.callback(str(request.url))
log.debug(f"Access token returned: {access_token}")
return JSONResponse(content={"access_token": access_token}, status_code=200)
Expand Down
2 changes: 1 addition & 1 deletion src/backend/app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Settings(BaseSettings):
DEBUG: bool = False
LOG_LEVEL: str = "DEBUG"

URL_SCHEME: Optional[str] = "http"
URL_SCHEME: Optional[str] = "https"
FRONTEND_MAIN_URL: Optional[str]
FRONTEND_MAP_URL: Optional[str]

Expand Down

0 comments on commit 198bfe5

Please sign in to comment.