summaryrefslogtreecommitdiff
path: root/bin/idp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/idp')
-rwxr-xr-xbin/idp9
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/idp b/bin/idp
index c2c5311a..62462deb 100755
--- a/bin/idp
+++ b/bin/idp
@@ -167,7 +167,14 @@ module Authn
end
def to_global_id
- ::GlobalID.create(self, app: "example").to_s
+ ::GlobalID.new(
+ ::URI::GID.build(
+ app: "example",
+ model_name: "User",
+ model_id: id,
+ params: {}
+ )
+ ).to_s
end
end