I am a beginner at web development. I've done a fair amount of command line and some gui python development, and done web development using Drupal and Wordpress and static html/css, but never had to worry about managing sessions or logging in users. The few cases where that was needed, I just used Drupal/Wordpress.
I am committed to learning Flask/web development and have a project I've started. It is a simple 3 page app that makes calls to another site's XML API (I believe it is called a REST API). The site I'll be calling is Adobe's Connect, which houses a bunch of elearning courses and student data. Here is a link to their 'Getting Started' API documentation: http://help.adobe.com/en_US/connect/9.0/webservices/WS5b3ccc516d4fbf351e63e3d11a171dce72-7ff7_SP1.html
My app needs to be able to do the following: 1. When the student enters their user id/password into a form in my Flask app,I want to make a call out to the Connect API and log them in there (therefore simulating a single-sign-on). 2. Then, I want the user to be redirected to a page that lists the courses they are enrolled in (this data is pulled in from the Connect API).
My question/concern is regarding session and user security. The Connect API documentation recommends just making a call via URL. That seems a bit odd to me, but perhaps it is completely safe? I guess I just want to make sure I'm not passing user credentials 'in the clear'. So is making sure my site is https and the call is to an https URL (which Connect's API is) the correct way to do this?
I already have a command line script in Python that successfully integrates with Connect's web service - I can login a user, logout, make calls to return data. My next step is to re-create this as a web app.
Any advice/tips is greatly appreciated.