Re: Redirection to SSO using Django

2017-03-09 Thread Scot Hacker
On Wednesday, March 8, 2017 at 5:26:02 AM UTC-8, Arun S wrote: > > Hi, > > My Project, i would want to redirect login page to a SSO page. > and handle redirection in Django. > You didn't mention what SSO service you are using for authentication, but there are existing Django apps for most

Re: Redirection to SSO using Django

2017-03-09 Thread Melvyn Sopacua
On Wednesday 08 March 2017 20:10:26 Arun S wrote: > Using the django_allauth package, i could see it supports most of the > social accounts that can use used for redirection. > But what if i want to add a custom link within a corporate account.??? If that corporate account follows Oauth/Oauth2

Re: Redirection to SSO using Django

2017-03-08 Thread Arun S
Using the django_allauth package, i could see it supports most of the social accounts that can use used for redirection. But what if i want to add a custom link within a corporate account.??? On Wednesday, March 8, 2017 at 9:10:33 PM UTC+5:30, Melvyn Sopacua wrote: > > On Wednesday 08 March 2017

Re: Redirection to SSO using Django

2017-03-08 Thread Arun S
The Login_redirect comes into picture when SSO redirects the Login back with a response. But i am still unable to redirect my Login page to the Third party page using django_settings. I tried setting LOGIN_URL but, always gets redirected to the django login page. Basically, using Djanog, i

Re: Redirection to SSO using Django

2017-03-08 Thread Melvyn Sopacua
On Wednesday 08 March 2017 05:26:02 Arun S wrote: > My Project, i would want to redirect login page to a SSO page. > and handle redirection in Django. Don't solve what others already did for you: https://djangopackages.org/packages/p/django-allauth/ -- Melvyn Sopacua -- You received this

Re: Redirection to SSO using Django

2017-03-08 Thread Jani Tiainen
Hi, You probably need to set LOGIN_REDIRECT_URL [1] to point correct url. What happens next depends your SSO tools and how they handle passing logged in user information to your app. [1] https://docs.djangoproject.com/en/1.10/ref/settings/#login-redirect-url On 08.03.2017 15:26, Arun S

Redirection to SSO using Django

2017-03-08 Thread Arun S
Hi, My Project, i would want to redirect login page to a SSO page. and handle redirection in Django. I am using Apache Server. Whats the best way to implement this ? i was reading about django - remoteusermiddleware but could'nt quite figure out how to handle the redirection. Any help is