Skip to content

Commit

Permalink
retrieve xml cert as string
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuret committed Jul 25, 2018
1 parent a5968c3 commit c8e535c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ueberauth/adfs.ex
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ defmodule Ueberauth.Strategy.ADFS do

defp cert_from_metadata(metadata) when is_binary(metadata) do
metadata
|> xpath(~x"//EntityDescriptor/ds:Signature/KeyInfo/X509Data/X509Certificate/text()")
|> xpath(~x"//EntityDescriptor/ds:Signature/KeyInfo/X509Data/X509Certificate/text()"s)
|> build_cert()
end

Expand Down

0 comments on commit c8e535c

Please sign in to comment.