Autonatic login to applications using Pyramid

30 views
Skip to first unread message

annut...@gmail.com

unread,
Feb 15, 2017, 11:02:43 AM2/15/17
to pylons-discuss

Hi,

I’m new to Pyramid. I’ve basic knowledge in using python. I created a ldap login wepage using pyramid-ldap now on the home page I have couple of buttons/links showing different applications the user can access. 

I want to send user's credentials to the application and automatically login the user when user clicks the button/link. 

Is it possible to achieve this without using ajax ? 

I am able to achieve automatic login using mechanize using a python script on commadline but I am not sure how to do this from a template when clicking a button or link and redirect to another application. 



Thanks
Ann


 

Jonathan Vanasco

unread,
Feb 15, 2017, 10:43:06 PM2/15/17
to pylons-discuss


On Wednesday, February 15, 2017 at 11:02:43 AM UTC-5, annut...@gmail.com wrote:

I want to send user's credentials to the application and automatically login the user when user clicks the button/link. 

Is it possible to achieve this without using ajax ? 

Instead of sending the credentials direct (it can have security implications), people will often use oAuth, JWT or similar technologies to achieve something like this.
Reply all
Reply to author
Forward
0 new messages