Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SAMLError: Missing entity_id specification #9

Open
mickjohnson-okta opened this issue Sep 4, 2018 · 7 comments
Open

SAMLError: Missing entity_id specification #9

mickjohnson-okta opened this issue Sep 4, 2018 · 7 comments

Comments

@mickjohnson-okta
Copy link

Python package pysaml2 version 4.6.1 will return the error SAMLError: Missing entity_id specification.

Downgrading the pysaml version to 4.0.3 allows the SAML assertion to post successfully.

@ctcampbell
Copy link

Same here

@nahun
Copy link

nahun commented Sep 27, 2018

Looks like the problem was introduced in 4.6.1. I downgraded to 4.6.0 and was fine.

@joelfranusic-okta
Copy link
Contributor

This is very useful, thanks everyone!

@relaxnow
Copy link

relaxnow commented Nov 12, 2018

SAML2 Service Providers should have an entityid, just add the following to the settings ( https://github.com/jpf/okta-pysaml2-example/blob/master/app.py#L97 ):

'entityid': 'https://example.com/sp/metadata', 

Or some unique URL on the applications domain (ideally should point to where metadata xml can be retrieved).

@RiseEarly
Copy link

Yeah, downgrading the version worked fine !!..

@afreepenguin
Copy link

SAML2 Service Providers should have an entityid, just add the following to the settings ( https://github.com/jpf/okta-pysaml2-example/blob/master/app.py#L97 ):

'entityid': 'https://example.com/sp/metadata', 

Or some unique URL on the applications domain (ideally should point to where metadata xml can be retrieved).

This worked well for me. thanks.

haibin added a commit to haibin/okta-pysaml2-example that referenced this issue Feb 17, 2019
@mydpy
Copy link

mydpy commented Apr 17, 2020

In case it's unclear, the entityID must match the destination URL / audience URI in the SAML 2.0 settings of the IdP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants