You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by gi...@git.apache.org on 2017/10/05 06:44:21 UTC

[GitHub] AnithaMurugesan opened a new issue #3602: Creating user by api

AnithaMurugesan opened a new issue #3602: Creating user by api
URL: https://github.com/apache/incubator-superset/issues/3602
 
 
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included it here as text if any
   - [ ] I have reproduced the issue with at least the latest released version of superset
   - [ ] I have checked the issue tracker for the same issue and I haven't found one similar
   
   
   ### Superset version
   Superset 0.19.0
   
   
   I want to create the new users by api.
   The api endpoint for creating user is /users/api/create
   But passing the curl command asks for csrf token.I have passed the csrf token value along with data and also with headers. But "The CSRF token has expired." error occurs.I can also find that the csrf_token value keeps on changing.
   
   I have also made WTF_CSRF_ENABLED = False
   But the same error continues.
   
   What is the format to create user by api??
   Is there a way to create users without using csrf_token??
   
   
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services