Installing pysaml2 with pip - the xmlsec1 requirement

Is it possible to automatically install the xmlsec1 requirement of PySAML2 using pip? The current project requires many packages and all are installed using pip and a requirements.txt file. I am...

How can I receive and verify WS-Federation tokens in python/django?

I am trying implement an assertion consumer for signed WS-Federation tokens as part of a SSO system. I know that simplesamlphp has (undocumented) ws-fed support, but I'm using a Django stack. It...

SAML 2.0 Service Provider in Python

I am looking to implement a SAML 2.0 based service provider in Python. My web apps are currently all Flask applications. I plan to make a Flask blueprint/decorator that allows me to drop single...

Does the XML Namespace of SAML AuthnRequest Matter?

I am creating a service provider in python using the Pysaml2 library. I am trying to send an AuthnRequest to Okta which is my identity provider. My AuthnRequest looks like this: <ns0:AuthnRequest...

Okta PySAML2 Example App: IP-Initiated Works but SP-Initiated Fails

I followed Okta's Setting up a SAML Application in Okta document, including the adjustments for the FirstName and LastName attributes discussed in this question, and followed the Okta "PySAML2"...

Okta login with Django and PySAML2

I am trying to implement Okta login in our Python Django application. I am following tutorial on http://developer.okta.com/docs/guides/pysaml2.html . I modified code for django. But on step where...

cloudera Hue can not view spark job history

Hue version:(3.8.1) Hadoop version:2.5.2 Apache(none CHD) Spark version:1.4.0 Apache(none CHD) when click the spark job in job list to view detail, it raise the following error,while hadoop mr job...

python SAML in GAE

Is there a library I can use to do a SAML authentication in App Engine using python? I've looked at pysaml2 which does say it's pure python implementation. However, it's using subprocess.Popen...

Namespace issue with pysaml2 XML canonicalization

I'm new to SAML and just encountered a problem when using pysaml2 to build an IdP. When creating a signed authn response, the canonicalization algorithm specified in xmldsig/init.py is exclusive...

UnsolicitedResponse at /auth/acs/

I am trying to configure my python based app(SP) to auth with okta. when i directly hit the url of the app. It properly authenticates the user and give the response. but when I click the app icon...

Parse Signed Response in Pysaml2

I am attempting to receive an IDP signed request, but I am not sure what I need to configure in order to verify the signature. I have set up the CONFIG as follows: 'want_response_signed': True,...

openstack: liberty keystone installation unmet dependencies

I'm new to openstack and I'm trying to setup an all-In-One environment I'm Working with Ubuntu 14.04 image I'm following this...

SSO implementation using djangosaml2

Experts, I am a novice in implementing the SSO (SAML) for a django application. I want to use SAML integration using djangosaml2/pysaml2. Any best tutorial with example is very much helpful.

OKTA: Best approach for authenticating users in custom web portal

I'm new to Okta and I'm having a tough time wrapping my head around what I need to do in order to authenticate users. I'm writing a web portal for a company that already uses Okta internally. They...

"SignatureError: Failed to verify signature" - Okta, pySAML2

For three days, I have been pulling my hair out trying to wrap my head around Okta & SAML. On my local machine (OSX Mavericks), I am able to successfully follow the steps listed here:...

Python SSO: pysaml2 and python3-saml

I new to SSO and I've only tried pysaml2 by far. I am also aware of python3-saml library (and its python-saml Python 2 flavour). I need to use one of those with Shibboleth, if it is relevant. What...

Python implementation of SAML2 protocol for app engine on Google cloud platform

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...

SAML / Shibb authentication in Django

I am newbie to Django, but I know how to create a simple application in python-Django how to add new page , how to link it into url file etc. Now what I am trying to do, I am trying to create a...

DBAccessError(13, Permission denied) in httpd server logs, when CKAN configured with saml2

I am running CKAN with apache httpd server. So, when i enable saml2 extension in ckan. I am getting following errors in my apache logs and see "Internal Server Error" on webpage. [Sun Jun 18...

How to install xmlsec1 on windows

I am using djangosaml2 and pysaml2 for sso authentication using SAML. Pysaml2 requires xmlsec1 for security assertions. I am able to install xmlsec1 on ubuntu 14.04. everything is working...

Decrypting SAML2 response using pysaml2 Python module

I am integrating my app with okta to have single sign on. Okta will be passing some user information in SAML response which I need to use in my application. Hence, we decided to encrypt the saml...

Google Cloud Functions include Brew dependency

Since Google AppEngine 2.7 doesn't allow for 3rd party libraries using C lib extensions, I've been looking for alternatives to set up a backend simliar to what is shown in the repo:...

Relay parameters to Okta and retrieve from IDP flow

I am trying to implement SSO with Okta in Python Flask but I don't see anywhere in their docs where I could pass in a parameter and retrieve it back in a successful login response. I currently 2...

SAML response signiture missing

I am trying to implement SAML2 SSO, I am getting an error saml2.sigver.SignatureError: Signature missing for response. I am using djangosaml2, in turn using pysaml2. It seems to hit an issue when...

django-saml2-auth: Infinite Redirects on Login

I'm completely new to django-saml2-auth (and SAML2 with Django in general) and am trying to get it working with Microsoft ADFS. When I hit my Django app it successfully redirects me to the...

flask-cache TypeError: can't pickle CompiledFFI objects

i am using pysaml2 library in python. which has a method defined as below: def _store_request(self, saml_msg): key = sha1(saml_msg["SAMLRequest"]).hexdigest() IDP.ticket[key] = saml_msg ...

pysaml2 - AuthnContextClassRef, PasswordProtectedTransport

I am struggling to understand how to configure pysaml2 and add the AuthnContext in my request. I have a SP and I would need to add the following request when the client performs the login...

pysaml2 usage - Missing entity_id specification

What is the proper format for data to initialize the pysaml2 client? The library complains that Missing entity_id specification, despite there being an entityID in the xml (below). spConfig =...

djangosaml2 authenticates user but I get anonymous user in my view

I am using djangosaml2 to authenticate my users. I've been using it for a long time now with no problem. I am currently in the process of upgrading Python and Django to newer versions and the...

Django saml2 login missing session variables

For my Django application, I am trying to enable SSO using Djangosaml2 and following are the versions I am...