Ask Your Question
0

Login to Openstack dashboard using a Post Request

asked 2013-12-23 16:19:41 -0500

akshat gravatar image

updated 2013-12-30 15:27:34 -0500

Hello Stackers, I am new to Django framework. We are developing a client server application in which i want the user to be redirected to the Openstack-dashboard profile page from our portal on click of a button. It should be able to get authentication with post variables and bypass the login page. I am finding it hard to make correct request. I am using Curl with PHP to make request. Seems my request url is right but i cannot pass the credentials as POST variables. Suggestions are appreciated, i am open to use anything other than curl. Any example would be great.

Thanks in advance

edit retag flag offensive close merge delete

Comments

I have tried using API's too. What i exactly want to do is, to be able to pass the credentials using POST request get the authentication and direclty go to user page on openstack dashboard bypassing the login page. Can you please guide, which API will work for it and how may i use it. Or if there is any other way of achieving this. Thanks

akshat gravatar imageakshat ( 2013-12-26 07:50:26 -0500 )edit

@akshat: please edit your question to add more details so that it's more readable. Fewer people read comments.

smaffulli gravatar imagesmaffulli ( 2013-12-27 13:34:36 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-12-23 20:21:21 -0500

larsks gravatar image

updated 2013-12-23 20:21:39 -0500

What exactly are you trying to do? If you're trying to programmatically interact with your OpenStack installation via the web, you're much better off using the APIs that have been established for this purpose rather than abusing the dashboard. See, e.g, http://api.openstack.org/

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-12-23 16:19:41 -0500

Seen: 146 times

Last updated: Dec 30 '13