Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
divya_vishwakarma
Partner - Contributor III
Partner - Contributor III

POST calls failing with 403 when using JWT Authentication

Hi Team,
We are facing issues with JWT Authentication, it works all good for GET calls
But for POST it fails with 403, the account that we are using to create the JWT has all permissions (API key created using same account works all good with GET, POST calls)

payload = {
        "iat": datetime.utcnow(),
        "exp": datetime.utcnow() + timedelta(seconds=600),
        "nbf": datetime.utcnow() - timedelta(seconds=400),
        "iss": issuer,
        "sub": issuer,
        "subType": "user",
        "name": user_name,
        "email": user_email,
        "email_verified": True,
        "aud": JWT_AUDIENCE,
        "jti": secrets.token_hex(64),
        "groups": ["Administrators", "Sales", "Marketing"],
    }
Is there another permission required for POST calls in JWT as we could not find anything in documentation
Labels (4)
2 Replies
divya_vishwakarma
Partner - Contributor III
Partner - Contributor III
Author

Any help that i can get here?

Haclark
Partner - Contributor II
Partner - Contributor II

Having the same issue...