heya i’m trying to get a jwt using curl, something...
# ask-a-descoper
o
heya i’m trying to get a jwt using curl, something like that
Copy code
project='descope project id'
token=$(curl -v "https://api.descope.com/v1/auth/password/signin" \
  -H "Authorization: Bearer $project" \
  --json "{\"loginId\": \"loginId\",\"password\": \"password\"}" | jq -r .sessionJwt)
i’m getting a 403 and i’ve no idea why. i dont see anything on audit or troubleshoot to help, nothing on response headers or body the exact same credentials for the exact same project id do work by other means edit: okay well found out this auth method was turned off leaving this here in case someone runs into same situation