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, 4. April 2017 15:31:54 UTC+2 schrieb 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 remove CAS it starts working but with CAS it is not. > > Can you tell me is there any way to use basic login with CAS? > > Thanks and Regards > > > -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.