Skip to content

Commit

Permalink
Fix unintended hardcoded redirect uri
Browse files Browse the repository at this point in the history
  • Loading branch information
akadusei committed Oct 30, 2023
1 parent 2f06588 commit 903eb4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/factories/oauth_grant_factory.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 903eb4f

Please sign in to comment.