Closed wferem1 closed 1 year ago
in lib/src/openid.dart the method _randomString is not using the length parameter, but will always return with a String of length 50.
lib/src/openid.dart
_randomString
length
String _randomString(int length) { var r = Random.secure(); var chars = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; return Iterable.generate(50, (_) => chars[r.nextInt(chars.length)]).join(); }
Hi @wferem1 , This is fixed in commit 850acc961347436c4f5a2fc6828b5a926b51423d. I will release a new version containing this fix soon.
in
lib/src/openid.dart
the method_randomString
is not using thelength
parameter, but will always return with a String of length 50.