From c8633a0837f921f470c991440fc788f2c9a1e986 Mon Sep 17 00:00:00 2001 From: x3rt <51767230+x3rt@users.noreply.github.com> Date: Fri, 28 Apr 2023 17:39:04 -0600 Subject: [PATCH] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 25efd47..ec492ef 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ DiscordOAuth.Configure(0123456789, "ClientSecret", "OptionalBotToken"); ```csharp var scopes = new ScopesBuilder(OAuthScope.Identify); var oAuth = new DiscordOAuth("https://example.com/Login", scopes); -var url = oAuth.GetAuthorizationUrl(); +var url = oAuth.GetAuthorizationUrl("state"); /* Redirect user to url via preferred method */ ``` ```csharp