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

Saml2 metadata file? #12

Closed
pconesa opened this Issue Oct 13, 2016 · 4 comments

Comments

Projects
None yet
6 participants
@pconesa
Copy link

commented Oct 13, 2016

More than an issue, this is a question.
I need to implement SAML2 in my django app.

I want it to make it work with http://www.testshib.org

At http://www.testshib.org/register.html they are requesting a Metadata file I believe all Saml service providers must have. But in the documentation, unless I've missed it, I haven't seen anything. The METADATA_AUTO_CONF_URL doesn't seem to be an option in my case. I guess since it is required, there's nothing to do?.

@fangli

This comment has been minimized.

Copy link
Owner

commented Oct 20, 2016

I'm not pretty sure about testshib, usually we get the metadata from provider instead of providing one to them.

@jameelgrand

This comment has been minimized.

Copy link

commented Aug 16, 2017

I am using pingone sso for saml2 there is no metadata URL , we will get metadata file , how to configure with that file instead of metadata url

@toloco

This comment has been minimized.

Copy link

commented Nov 9, 2017

Try to use something like this:

SAML2_AUTH = {
    'METADATA_AUTO_CONF_URL': 'file://{}/saml2/metadata.xml'.format(BASE_DIR)
}
@askvictor

This comment has been minimized.

Copy link

commented Mar 17, 2018

@toloco I've just tried that approach, but it doesn't work on account of the requests library not knowing how to handle the file:// schema

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.