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

Fix metadata file creation #53

Merged
merged 1 commit into from
Feb 15, 2024
Merged

Conversation

vaszig
Copy link
Contributor

@vaszig vaszig commented Feb 14, 2024

get_metadata method from saml library returns bytes but this was
confusing in the docstrings as they mention str.So, what we get from
this method is used directly to create the file (idp_metadata_file).
@vaszig vaszig force-pushed the fix/xml-metadata-file-creation branch from 53ece58 to 3976e40 Compare February 14, 2024 15:39
Copy link

codecov bot commented Feb 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (24758de) 96.01% compared to head (3976e40) 96.01%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #53   +/-   ##
=======================================
  Coverage   96.01%   96.01%           
=======================================
  Files          71       71           
  Lines        3212     3212           
=======================================
  Hits         3084     3084           
  Misses        128      128           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sergei-maertens sergei-maertens merged commit 04c9e4e into master Feb 15, 2024
12 of 14 checks passed
@sergei-maertens sergei-maertens deleted the fix/xml-metadata-file-creation branch February 15, 2024 09:27
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

Successfully merging this pull request may close these issues.

Identity provider: (XML) metadata-URL: AttributeError 'bytes' object has no attribute 'encode'
2 participants