Re: sso using django

2023-02-11 Thread carlos
Hello quicky research in google search

https://pypi.org/project/django-sso/
https://github.com/divio/django-simple-sso
https://micropyramid.medium.com/django-single-sign-on-sso-to-multiple-applications-64637da015f4

Cheers

On Tue, Jan 31, 2023 at 11:16 PM venkat Bukka 
wrote:

> Hello all,
> Does anyone know how we can implement django sso for multiple
> django projects please let me know from which libraries we can start with
> and push into production or is it good to use aure ad and okta for that.
>
> thank you..!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/1d2d0aae-a9e7-4da0-b4b5-3af333537aefn%40googlegroups.com
> 
> .
>


-- 
att.
Carlos Rocha

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAM-7rO1nVqJMqmCc9%2BO%2BxXQ_1VWw8sTHUoeR_q%2BrD9W2uzf--w%40mail.gmail.com.


sso using django

2023-01-31 Thread venkat Bukka
Hello all,
Does anyone know how we can implement django sso for multiple 
django projects please let me know from which libraries we can start with 
and push into production or is it good to use aure ad and okta for that.

thank you..!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1d2d0aae-a9e7-4da0-b4b5-3af333537aefn%40googlegroups.com.


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 common  SSO services. Our campus 
uses CAS, and the django-cas-ng module was very easy to install and 
configure. Almost no custom code needed.

./s

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2767edc8-4616-46c9-97a5-1d5985e9fcbd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 then you can use the framework 
to 
write your own provider. But, if you don't plan on adding anything else down 
the 
road, it may be overkill.

The principle with any SSO redirect is the same though:
0) Configure at the SSO where you receive the result of the login attempt (say 
/login/success)
1) Redirect the login to the SSO
2) At /login/success store the data you receive and mark the user logged in.

The data you receive at /login/success should identify your user.

-- 
Melvyn Sopacua

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1822141.cHzjNAc0eD%40devstation.
For more options, visit https://groups.google.com/d/optout.


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 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 message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1420b92f-a799-48f1-9661-2ec0b46b6ff4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 want to open third party Login page and then get 
redirected back to handle the response.

Cheers
Arun

On Wednesday, March 8, 2017 at 8:44:54 PM UTC+5:30, Jani Tiainen wrote:
>
> 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 wrote:
>
> 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 appreciated.
>
> Cheers
> Arun.
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users...@googlegroups.com .
> To post to this group, send email to django...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> 
> https://groups.google.com/d/msgid/django-users/be86285c-7e27-4792-9df2-f9703d557921%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
> Jani Tiainen
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1268e5d1-e169-4a34-87ce-fc9914476278%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2405458.0K6hlgtTlC%40devstation.
For more options, visit https://groups.google.com/d/optout.


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 wrote:

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 appreciated.

Cheers
Arun.
--
You received this message because you are subscribed to the Google 
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to django-users+unsubscr...@googlegroups.com 
.
To post to this group, send email to django-users@googlegroups.com 
.

Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/be86285c-7e27-4792-9df2-f9703d557921%40googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--
Jani Tiainen

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6b84ece5-2a10-1871-0b56-2f90f7808f7f%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


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 appreciated.

Cheers
Arun.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/be86285c-7e27-4792-9df2-f9703d557921%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.