You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/06/14 07:24:35 UTC

[GitHub] [superset] pritypriya25 commented on issue #2488: How to authenticate with REST API

pritypriya25 commented on issue #2488:
URL: https://github.com/apache/superset/issues/2488#issuecomment-859604736


   The solution to the problem is pretty simple. Just hit post api "api/v1/security/login". Provide the JSON body with following 
   {
     "password": "complex-password",
     "provider": "db",
     "refresh": true,
     "username": "admin"
   }
   The jwt token will be generated in the response. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org