We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c3e22c commit fe2dd7cCopy full SHA for fe2dd7c
lib/Routes/SolidIdp.php
@@ -117,8 +117,8 @@ public static function respondToRegister() {
117
}
118
119
120
- $generatedClientId = md5(random_bytes(32));
121
- $generatedClientSecret = md5(random_bytes(32));
+ $generatedClientId = bin2hex(random_bytes(16)); // 32 chars for the client Id
+ $generatedClientSecret = bin2hex(random_bytes(32)); // and 64 chars for the client secret
122
123
$clientData['client_id_issued_at'] = time();
124
$clientData['client_id'] = $generatedClientId;
0 commit comments