Flask-CAS | Flask extension for CAS
kandi X-RAY | Flask-CAS Summary
kandi X-RAY | Flask-CAS Summary
Flask extension for CAS
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Flask-CAS
Flask-CAS Key Features
Flask-CAS Examples and Code Snippets
Community Discussions
Trending Discussions on Flask-CAS
QUESTION
In my Python (3.5) Flask project, I am using the CAS client for authentication and everything works fine. Once the authentication is done, I want to display the username in my output page. So I use the following code
__init__.py
:
ANSWER
Answered 2018-May-16 at 18:56It's hard to pinpoint exactly what the problem is without knowing what your cas
variable is, in __init__.py
. However I suspect the error you have might be because cas
is a class, rather than an instance of that class.
To show you what I mean:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Flask-CAS
No Installation instructions are available at this moment for Flask-CAS.Refer to component home page for details.
Support
If you have any questions vist the community on GitHub, Stack Overflow.
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page