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
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
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
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
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,
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
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
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 =
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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?
hey all,
I am having a problem in logging through CAS. I am able to
login but the token returned is none. please help.
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
50 matches
Mail list logo