cas demo flask client requirements Flask Flask-CAS run edit hosts 127.0.0.1 testapp.casdemo.com execute python demo.py browse http://testapp.casdemo.com:5000, it will redirect to www.casdemo.com/cas/login for authentication see the attributes returned from cas server screenshot