[web2py] CAS setting the callback URL

2022-01-28 Thread Vlad
I have both consumer and provider behind Apache, with actual names (*as opposed to localhost:port) *, however when doing CAS, the provider sends the request back to the instance:port location instead of the URL I am accessing it with. The provider is defined in terms of its "external" URL (that

[web2py] CAS - Apache - SSL error

2020-05-30 Thread clara
Hello, I am using Web2Py with Python 3.7. I have 2 web2py applications one is the CAS provider and the other is a CAS client. This works without problems with rocket server in development environment. Now, I need to run these apps under Apache / Windows operating system, I have both apps in the

Re: [web2py] CAS error

2018-12-30 Thread Carlos Cesar Caballero Díaz
Well, actually I have being not able to replicate the issue, maybe was something related to sessions or the browser cache, but right now I am not sure what was wrong. Greetings. El 30/12/18 a las 4:45 p.m., Massimo Di Pierro escribió: Thanks On Friday, 7 December 2018 07:15:33 UTC-8, Carlos

Re: [web2py] CAS error

2018-12-30 Thread Massimo Di Pierro
Thanks On Friday, 7 December 2018 07:15:33 UTC-8, Carlos Cesar Caballero wrote: > > Hi Massimo, I am working on a fix, hopefully I will submit a PR soon. > > Greetings. > El 7/12/18 a las 3:03 a.m., Massimo Di Pierro escribió: > > can you please open an issue about this? > > On Thursday, 29 Novemb

Re: [web2py] CAS error

2018-12-07 Thread Carlos Cesar Caballero Díaz
Hi Massimo, I am working on a fix, hopefully I will submit a PR soon. Greetings. El 7/12/18 a las 3:03 a.m., Massimo Di Pierro escribió: can you please open an issue about this? On Thursday, 29 November 2018 13:51:14 UTC-8, Carlos Cesar Caballero wrote: Hi guys, after some clean tests,

Re: [web2py] CAS error

2018-12-07 Thread Massimo Di Pierro
can you please open an issue about this? On Thursday, 29 November 2018 13:51:14 UTC-8, Carlos Cesar Caballero wrote: > > Hi guys, after some clean tests, the issue is not happening with Python > 2.7, so it seems to be a Python 3 issue. > > Greetings. > > > El 29/11/18 a las 1:34 p.m., Carlos Ce

Re: [web2py] CAS error

2018-11-29 Thread Carlos Cesar Caballero Díaz
Hi guys, after some clean tests, the issue is not happening with Python 2.7, so it seems to be a Python 3 issue. Greetings. El 29/11/18 a las 1:34 p.m., Carlos Cesar Caballero Díaz escribió: Hi, I am using the web2py version 2.17.2-stable+timestamp.2018.10.06.18.54.02 in Ubuntu Linux, and I a

[web2py] CAS error

2018-11-29 Thread Carlos Cesar Caballero Díaz
Hi, I am using the web2py version 2.17.2-stable+timestamp.2018.10.06.18.54.02 in Ubuntu Linux, and I am not able to use CAS. I have a web2py app as server, an another as client, and when client try to log in, the browser starts a redirect loop and returns a ERR_TOO_MANY_REDIRECTS error. There a

[web2py] CAS and registration_id field

2018-08-29 Thread fiubarc
Hello, please, I need help with the following: I have the login with CAS configured and when logging in, the user's registry is modified adding registration_id as /cas/[user_email]... It works fine but, when the user does not have an email, then the registration_id field ends as /cas/Non

[web2py] Re: WEB2PY CAS with basic auth

2018-06-18 Thread Ben Hagen
I have filed an issue for this: https://github.com/web2py/web2py/issues/1938 Maybe someone can point me in the right direction how it could be fixed. Am Mittwoch, 23. Mai 2018 16:19:02 UTC+2 schrieb Ben Hagen: > > Sorry yeah I truncated the URL in this message for privacy. In fact it > does look

[web2py] Re: WEB2PY CAS with basic auth

2018-05-23 Thread Ben Hagen
Sorry yeah I truncated the URL in this message for privacy. In fact it does look like this auth = Auth(db, cas_provider='https:/example.com/central/default/user/cas') auth.settings.allow_basic_login = True @auth.requires_login() def default(): return dict() CAS is working as expected. The

[web2py] Re: WEB2PY CAS with basic auth

2018-05-22 Thread 黄祥
cas_provider value should be using the url 1. auth = Auth(db,cas_provider = 'http://applocal/main/default/user/cas') *ref:* http://www.web2pyslices.com/slice/show/1877/single-login-by-two-different-ways best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documen

[web2py] Re: WEB2PY CAS with basic auth

2018-05-22 Thread Ben Hagen
I am having the same issue here on version 2.16.1. Basic example would be auth = Auth(db, cas_provider='/central/default/user/cas') auth.settings.allow_basic_login = True @auth.requires_login() def default(): return dict() @massimo did you create a bug? Can't find it on github. Am Dienstag,

[web2py] Re: WEB2PY CAS with basic auth

2017-10-18 Thread Sharjeel Ali Shaukat
Yes massimo we need this functionality, Please can you resolved this problem as soon as possible On Tuesday, April 4, 2017 at 6:31:54 PM UTC+5, Muhammad Bilal wrote: > > Hi Massimo > > I am developing a project where I have two web2py applications App A is > provider and App B is consumer. > > S

[web2py] CAS in case of existing applications

2017-08-07 Thread 'Annet' via web2py-users
I have one application (adminmodel) containing models, modules and static files and three other applications using these models, modules and static files. Two of the three applications have been developed independently of each other, and have their own register and login functions. All applicat

[web2py] Re: WEB2PY CAS with basic auth

2017-04-12 Thread Massimo Di Pierro
This is probably a bug. Can I open an issue so it will be tracked? Can you also provide a simple code example that does not work? On Tuesday, 4 April 2017 08:31:54 UTC-5, Muhammad Bilal wrote: > > Hi Massimo > > I am developing a project where I have two web2py applications App A is > provider a

[web2py] WEB2PY CAS with basic auth

2017-04-04 Thread Muhammad Bilal
Hi Massimo I am developing a project where I have two web2py applications App A is provider and App B is consumer. So I have setup CAS in consumer and it is working fine for normal browser stuff. But when I am trying to use basic auth with restful api then I always get Not Authorized. If I re

[web2py] cas broken in 2.14.3?

2016-04-02 Thread Martin Weissenboeck
Is cas broken in 2.14.3? I am not sure - I have tested it with two different sites and I have got errors like "invalid request" or "not authorized". Site 1: Cas worked before upgrade to 2.14.3. Site 2: A new test with my local server: In application m_abschluss, db.py: auth = Auth(db, cas_prov

[web2py] CAS provider Logout Issue

2016-03-31 Thread Franz Pietz
Hello, I am using CAS to manage login in my application, with the following structure: MainApp -> Main Application App1 and App2 -> Secondary applications App1 and App2 are configured so that the login is managed by MainApp. For login, everything works fine: - If I login in MainApp,I'm logged

[web2py] CAS with OpenSSL-Certificates

2016-02-16 Thread frankbunt4711
I'm trying to get CAS auth working with "https://.."; but it is giving me problems. Below is my setup 1. Environment is ArchLinux (Banana M2) + RocketServer + Web2py: Web2Py 2.13.4, Rocket 1.2.6, Python 2.7.10 All databases running on SQLite, default app path. 2. I have one web2py app that acts

[web2py] CAS SERVER

2015-09-14 Thread Laurent Lc
Hi i use these lines of code and the goal is to retreive the login. Ive looked for Auth_user, cookies but nothing works, how can i do ? In fac the purpose is to replace PHP_AUTH_USER by ... i don't know. Could you help me ? thanks from gluon.tools import Auth, Service, PluginManager #auth =

[web2py] cas and basic auth

2015-04-23 Thread Massimiliano
Hi, I've a number of applications that use cas to authenticate. Now I need to allow an automatic download for an external integration, but I don't' find a way to make it work. I other word I need that someone download a csv file via wget o somthing like that. I tried: in db.py: auth = Auth(db

[web2py] CAS not working - redirect loop

2014-11-06 Thread Srini K
I'm trying to get CAS auth working but it is giving problems. Below is my setup. 1. Environment is Ubuntu+Apache+Web2py 2. I have one web2py app that acts as a CAS provider. It exposes a controller function and have tried both form=auth.login() and form=auth(). 3. I have another web2py app that

Re: [web2py] Re: Planning to use Web2py CAS as Authnication service for Tornado

2014-09-05 Thread Phyo Arkar
Thanks alot massimo, i haven't seen that. class PostHandler(tornado.web.RequestHandler): """ only authorized parties can post messages """ def post(self): if hmac_key and not 'signature' in self.request.arguments: return None if 'message' in self.request.arguments: message = self.request.arguments

[web2py] Re: Planning to use Web2py CAS as Authnication service for Tornado

2014-08-14 Thread Massimo Di Pierro
Did you see this: https://github.com/web2py/web2py/blob/master/gluon/contrib/websocket_messaging.py On Thursday, 14 August 2014 09:18:41 UTC-5, Phyo Arkar wrote: > > In our new application , it will be interactive Chat + Social > Media/News/Forum discussion. > For most interactive part it will b

[web2py] Planning to use Web2py CAS as Authnication service for Tornado

2014-08-14 Thread Phyo Arkar
In our new application , it will be interactive Chat + Social Media/News/Forum discussion. For most interactive part it will be done in Tornado , but for Non Interactive parts (Registration , Auth) I am going to use Web2py. Database will be Mongodb. We've used web2py extensively for past 5 years.

[web2py] CAS not working

2014-07-03 Thread Giacomo Dorigo
Hello, I have a problem in using the web2py CAS service. I have created a cas_provider and a cas_client. I have accessed to cas_client /cas_client from here went to /cas_client/default/user/login?_next=/cas_client/default/index and been redirected to /cas_provider/default/user/cas/login?service

Re: [web2py] CAS Question

2014-02-15 Thread Tim Richardson
The comment from September 2013 about CAS not allowing registration of new users is not true in trunk. Registration works fine. On Saturday, 15 February 2014 18:19:19 UTC+11, Alexei Vinidiktov wrote: > > I'd like to hear about the pros and cons too. > > > On Wed, Sep 18, 2013 at 3:42 AM, António

[web2py] CAS login doesn't seem to work in web2py 2.8.2

2014-02-15 Thread Alexei Vinidiktov
I think I've come across a bug, and a nasty one too. I'm trying to make my apps work with cas authentication. The user can successfully register in the cas provider but when he tries to log in from the cas client app - i.e. he clicks on the login link in the cas client, is taken to the cas provid

Re: [web2py] CAS Question

2014-02-14 Thread Alexei Vinidiktov
I'd like to hear about the pros and cons too. On Wed, Sep 18, 2013 at 3:42 AM, António Ramos wrote: > I´m planning on having multiple apps in my web2py server. > > I think i should use CAS but seems correct to create a CAS app only for > that purpose,Authentication. > > I tried using some of t

[web2py] CAS Question

2013-09-17 Thread António Ramos
I´m planning on having multiple apps in my web2py server. I think i should use CAS but seems correct to create a CAS app only for that purpose,Authentication. I tried using some of the apps as a CAS provider but using it from another app only allows the user to log in, not to register. Is this o

[web2py] CAS consumer as CAS provider

2013-09-05 Thread Imran Ahmed
Can we use one CAS consumer as a CAS provider for other app? -- --- 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+unsubscr...@googlegroups.com. For more

[web2py] CAS provider and registration

2013-08-26 Thread Larry Weinberg
I've followed instructions elsewhere and set up a CAS provider application and a client application that uses the CAS service. It looks like the registration options go away from the client app in this flow. Once on the CAS provider login screen, I can navigate to registration choice, but when

[web2py] CAS provider: additional fields only picked up at creation of local user

2013-04-24 Thread mjm
The docs at http://web2py.com/books/default/chapter/29/09#Central-Authentication-Service say: "Thanks to CAS 2.0 all fields that are readable on the provider and have a corresponding field in the auth_user table of the consumer will be copied automatically." This is correct but does not mentio

[web2py] Re: Web2py CAS auth.username does not exist. Multiple applications, one CAS provider.

2013-04-05 Thread joe smith
Ok thank you for your help. Does that mean I have to allow usernames for login for CAS to work? All of our users now use email addresses. I can get around the issue by manually creating a auth_user.username column in Postgres, but a cleaner fix would be as Anthony posted somewhere else: auth.se

[web2py] Re: Web2py CAS auth.username does not exist. Multiple application with one CAS provider.

2013-04-05 Thread Massimo Di Pierro
Answered in other thread. On Friday, 5 April 2013 13:19:46 UTC-5, joe smith wrote: > > > I am trying to create a single web2py server with multiple applications > that each use a single CAS provider to handle user authentication. I keep > running into a wall when it comes to getting the applicat

[web2py] Re: Web2py CAS auth.username does not exist. Multiple applications, one CAS provider.

2013-04-05 Thread Massimo Di Pierro
If you use CAS you must change: auth = Auth(db) into auth = Auth(db, username=True) CAS requires a username. On Friday, 5 April 2013 11:26:50 UTC-5, joe smith wrote: > > I am writing a number of Web2py applications. The base CAS application is > an administration system to keep track of user

[web2py] Web2py CAS auth.username does not exist. Multiple applications, one CAS provider.

2013-04-05 Thread joe smith
I am writing a number of Web2py applications. The base CAS application is an administration system to keep track of users, organizations, groups, etc. That part is working fine, but now I want to add additional applications that use this administration system as a CAS provider. I have been tryi

[web2py] Web2py CAS auth.username does not exist. Multiple application with one CAS provider.

2013-04-05 Thread joe smith
I am trying to create a single web2py server with multiple applications that each use a single CAS provider to handle user authentication. I keep running into a wall when it comes to getting the applications to work with the CAS. In particular I get an error from the consumer app that auth.use

[web2py] CAS auto login for all apps

2011-11-08 Thread Cahya Dewanta
This is my 7th day using web2py. I have my CAS working properly. But I have to manually login with same username to each app. Is this normal? How to make it automatically once login for all? All apps are on the same domain. Actually I haven't set anything or change any code. The new web2py did it f

[web2py] CAS question

2011-10-03 Thread mart
Hi all, I have a central App on our corporate intranet, and multiple instances of another app residing on multiple build servers. I would like users to be able to authenticated by registering an account on the central app (to server as provider), then get access to all other instances of the othe

[web2py] CAS Auth with HTTPS

2011-09-07 Thread Bruno de Oliva Bemfica
irect to a HTTPS URL, even why I set the port to 8000. 2 - The Web2py cas tickets don't seem to conform the CAS specifications(e.g starting with "PT-" or "ST-"). -- Bruno de Oliva Bemfica *Engenheiro de Software* MSN: brunocode...@live.com Mobile: +55 11 8457-09

Re: [web2py] CAS Auth redirect loop

2011-08-31 Thread Bruno Rocha
Bump! Any news about it? I tried to change almost everything, but still enters in redirect loop.. -- -- Bruno Rocha [ About me: http://zerp.ly/rochacbruno ] [ Aprenda a programar: http://CursoDePython.com.br ] [ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ] [ Consul

[web2py] CAS Auth redirect loop

2011-08-17 Thread Bruno de Oliva Bemfica
Hi again, everyone. Does anyone know why a CAS auth could be entering a loop redirect? -- Bruno de Oliva Bemfica *Engenheiro de Software* MSN: brunocode...@live.com Mobile: +55 11 8457-0978 http://www.devfranca.com.br http://www.brunobemfica.net http://www.codigofree.net

[web2py] CAS Auth with other technologies

2011-07-19 Thread Bruno Bemfica
Hi, I'm new on Web2Py and Python, and I have a question: There's any way to make apps developed with other technologies (in my case, PHP and ASP.NET) authenticate with the web2py CAS server? I need to integrate some apps to my company and we have systems made in a lot of different te

[web2py] CAS

2011-06-29 Thread sagar
Hi, I have to use CAS for two of my apps. Its working fine when both having default same registration process. Here one of my app has some extra fields in registration like mobile no etc what is ideal way to deal with it in such a cases. Is there any documentation about CAS to get good understa

[web2py] cas incorrect address in email

2010-11-10 Thread leone
Hi, CAS return this incorrect address in email https://mdp.cti.depaul.edu/cas/cas/verify?id=191&key=d1c373ab1570cfb9a7dbb53c186b37a2 It must be https://www.web2py.com/cas/cas/verify?id=191&key=d1c373ab1570cfb9a7dbb53c186b37a2 What can I do to correct it. There is a CAS application downloadable? Tha

[web2py] CAS not found

2010-11-10 Thread notabene
The CAS provider applicance should be here. http://mdp.cti.depaul.edu/appliances/default/index (https:// www.web2py.com/cas) https://mdp.cti.depaul.edu/cas (http://en.wikipedia.org/wiki/ Central_Authentication_Service). But I am not able to find it?

[web2py] Cas Login Problem

2010-08-05 Thread harshit agrawal
hey all, I am having a problem in logging through CAS. I am able to login but the token returned is none. please help.

[web2py] CAS

2010-02-09 Thread SergeyPo
I am evaluating web2py CAS appliance for the following application: central authentication and moneykeeping for many auctions. CAS should not only validate users for many auction sites but also store user's payments, balance, respond to requests (soap/rpc) on balance available, blocking am