web2py and py4web - single signon between the two

120 views
Skip to first unread message

Jim S

unread,
Jan 3, 2020, 4:56:38 PM1/3/20
to web2py-users
Hi

I have a large web2py application that I want to start migrating to py4web.

I don't want the users to necessarily know or care which stack is running a particular page within that large app so would like only one signon. 

How can I set it up so that users authenticate to py4web and then have me automagically log them in to the web2py app too so they can seemlessly go back and forth between the two.

Currently my users all login to the app via web2py and authenticate using the email_auth authentication method.

I'd prefer to have them now login via py4web using email_auth, but then send an auth token or something to the web2py portions so they wouldn't see a login to the portions that aren't yet converted to py4web.

Am I making any sense?  As you can see, I have no idea where to even begin.  I'm hoping this is way easier than I'm making it out to be.  Any help is very much appreciated.

-Jim

Carlos Cesar Caballero

unread,
Jan 5, 2020, 4:28:10 PM1/5/20
to web...@googlegroups.com
Maybe implementing a CAS server for py4web... But I am not sure right now what will be the recommended way for implementing modules/components/plugins in py4web... 

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/20dcf6d4-70bb-4487-afd1-48d01b3ed26e%40googlegroups.com.

Massimo Di Pierro

unread,
Jan 15, 2020, 1:09:23 AM1/15/20
to web2py-users
yes. that is a priority.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscribe@googlegroups.com.

Martin Weissenboeck

unread,
Nov 11, 2020, 5:26:03 PM11/11/20
to web2py-users
Any news about this topic?

Regards Martin



To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/a85993e2-20cc-4850-b0f2-8050cd17c846%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages