Skip to content

Commit

Permalink
switched teh jwt secret
Browse files Browse the repository at this point in the history
  • Loading branch information
mary-crkn committed Nov 6, 2024
1 parent 02bbac0 commit 6f067a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Azure_auth/jwt_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import jwt
# load .env file
load_dotenv()
jwt_secret = os.getenv("JWT_SECRET")
jwt_secret = os.getenv("EDITOR_SECRET_KEY")
#define a HTTPBearer to handle the token from client
client_token_scheme = HTTPBearer()
# JWT authentication function
Expand Down

0 comments on commit 6f067a5

Please sign in to comment.