Skip to content

Commit b33bc30

Browse files
authored
Changed tokensize from 5000 to 4000
Tokensize 5000 causes sqlexception Microsoft.Data.SqlClient.SqlException (0x80131904): The size (5000) given to the parameter 'accessToken' exceeds the maximum allowed (4000).
1 parent 2c1fe92 commit b33bc30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.AuthorizedServices/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public static class TableNames
7474
public const string OAuth1Token = "umbracoAuthorizedServiceOAuth1Token";
7575
}
7676

77-
public const int TokenFieldSize = 5000;
77+
public const int TokenFieldSize = 4000;
7878

7979
public static class Migrations
8080
{

0 commit comments

Comments
 (0)