Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How to secure an endpoint for selected users with Flask-JWT-Extended

# assuming that the sub claim is an integer value
    if userid != get_jwt_identity()
 
PREVIOUS NEXT
Tagged: #How #secure #endpoint #selected #users
ADD COMMENT
Topic
Name
1+3 =