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 only problem we have is that it does not
work for basic auth.
Best regards
Ben
Am Dienstag, 22. Mai 2018 23:39:34 UTC+2 schrieb 黄祥:
>
> 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 (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 [email protected].
For more options, visit https://groups.google.com/d/optout.