I tried pysaml2 and python-saml library on google cloud platform but both are internally using some libraries which are using C extensions or python wrapper on C libraries which is incompatible with app engine as app engine blocks the c implemented libraries in its eco system. Does any one has implemented saml2 protocol in appengine using python?
pysaml2 documentation suggests that its a pure python implementation but it also uses library like pycrytodome or cryptodome which need _ctype library.
Below is the error:
File "/home/***/anaconda2/lib/python2.7/ctypes/_init_.py", line 10, in <module>
from _ctypes import Union, Structure, Array
File "/home/***/sdks/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/python/sandbox.py", line 963, in load_module
raise ImportError('No module named %s' % fullname)
ImportError: No module named _ctypes
Please suggest some other approaches if possible.