I have a Rails app with an API endpoint that I’d like to authenticate using OpenId.
How can I POST to an OpenID endpoint without involving a GUI?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Technically, you’d have to implement a client in your script.
The script would have to:
At this point, the script should be authenticated with your blog, and it’d just have to store the session cookie. Subsequent requests can be used with this cookie, so that the script will be authenticated.
If your blog supports it (i.e. doesn’t reject uninitiated requests), you could also substitute step 1 with manual discovery and redirection using an RP library.