From 903eb4feaa98ab0ddf390a0bd3b651e27e538b0b Mon Sep 17 00:00:00 2001 From: akadusei Date: Mon, 30 Oct 2023 12:28:55 +0000 Subject: [PATCH] Fix unintended hardcoded redirect uri --- spec/support/factories/oauth_grant_factory.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/factories/oauth_grant_factory.cr b/spec/support/factories/oauth_grant_factory.cr index c158ebb9..04373734 100644 --- a/spec/support/factories/oauth_grant_factory.cr +++ b/spec/support/factories/oauth_grant_factory.cr @@ -20,7 +20,7 @@ class OauthGrantFactory < Avram::Factory end def redirect_uri(uri : String) - metadata({redirect_uri: "https://example.com/oauth/callback"}.to_json) + metadata({redirect_uri: uri}.to_json) end private def set_defaults