HomeWrite.as

Move unique OAuth username creation to client-side

Description

Move unique OAuth username creation to client-side

Now, on OAuth signup form, we create a unique username with random appended string only if there's a conflict.
Previously, this was always happening during the Slack OAuth flow. This has the benefit of preventing username collisions for all OAuth providers.

Details

Provenance
mattAuthored on Apr 22 2020, 1:17 PM
Parents
rWF7b7df5535ed8: Run go fmt on oauth_test.go
Branches
Unknown
Tags
Unknown