import urllib.request
import urllib.error  
import json
import os
import sys

# First check jwt_auth state
sys.path.insert(0, ".")
from config import JWT_SECRET, JWT_ALGORITHM
print("JWT_SECRET:", JWT_SECRET[:20] + "..." if JWT_SECRET else "NONE - THIS IS THE PROBLEM!")
print("JWT_ALGORITHM:", JWT_ALGORITHM)

from common.jwt_auth import create_access_token, verify_password, get_password_hash
print("bcrypt verify test:", verify_password("Test12345!", get_password_hash("Test12345!")))
