We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1d99d0 commit 7ce3f3aCopy full SHA for 7ce3f3a
lib/onelogin/ruby-saml/metadata.rb
@@ -1,7 +1,7 @@
1
require "uri"
2
-require "uuid"
3
4
require "onelogin/ruby-saml/logging"
+require "onelogin/ruby-saml/utils"
5
6
# Only supports SAML 2.0
7
module OneLogin
@@ -50,7 +50,7 @@ def generate(settings, pretty_print=false)
50
xc2.text = cert_text
51
end
52
53
- root.attributes["ID"] = "_" + UUID.new.generate
+ root.attributes["ID"] = OneLogin::RubySaml::Utils.uuid
54
if settings.issuer
55
root.attributes["entityID"] = settings.issuer
56
0 commit comments