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

NameIDFormat is printed but not passed to template #21

Open
FMJansen opened this issue May 7, 2020 · 0 comments
Open

NameIDFormat is printed but not passed to template #21

FMJansen opened this issue May 7, 2020 · 0 comments

Comments

@FMJansen
Copy link

FMJansen commented May 7, 2020

In the metadata template for the SP on line 18 (sp/templates/flask_saml2_sp/metadata.xml) the NameIDFormat is printed: <md:NameIDFormat>{{ nameid_format }}</md:NameIDFormat>

Another var, {{ certificate }}, is passed to the template through sp.get_metadata_context() in sp/sp.py to the Metadata class in sp/views.py. However, {{ nameid_format }} is missing there.

So I expected to see my NameIDFormat if I defined it in app.config['SAML2_SP'], but it didn’t show up.

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

1 participant