aboutsummaryrefslogtreecommitdiff
path: root/VPNAuth.Server
diff options
context:
space:
mode:
Diffstat (limited to 'VPNAuth.Server')
-rw-r--r--VPNAuth.Server/Api/OAuth2.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/VPNAuth.Server/Api/OAuth2.cs b/VPNAuth.Server/Api/OAuth2.cs
index 66799e7..bed5110 100644
--- a/VPNAuth.Server/Api/OAuth2.cs
+++ b/VPNAuth.Server/Api/OAuth2.cs
@@ -34,6 +34,7 @@ public static class OAuth2
+ "&state=" + authRequest.State;
}
+ // -> https://datatracker.ietf.org/doc/html/rfc7636#section-4.2
private static string HashCodeVerifier(string codeVerifier)
{
using var sha256 = SHA256.Create();