The user code obtained when using the OAuth2 device flow is created based on the following strings:
StatefulTokenStore: ALPHABET string:
As per comments:
//removed 0, 1, U, u, 8, 9 and l due to similarities to O, I, V, v, B, g and I on some displays
However, from a user point of view, removing only 0 and leaving O is still confusing. There is no way to know, when seeing 'O' in the code to enter, which one it is (they don't know what set is being implemented!).
We should also remove O, I, V, v, B, g
We should probably remove more than just 0, O, I, l or make it configurable.