New issue
Advanced search Search tips
Starred by 1 user
Status: Submitted
Owner: ----
Closed: Oct 2016

Sign in to add a comment
Not able to set username for OAuth scheme
Project Member Reported by, Oct 18 2016 Back to list

Affected Version: 2.13.

Not all OAuth providers expose user name.
Most notably Google Oauth provider does not.

I made it work in this change: [1].
This was apparently undone in: [2].
Later it was extended to support editing, but only a subset of fields
and user name wasn't among them: [3].


Workaround: Manipulate the database directoy after every user creation:

insert into account_external_ids (account_id, external_id) values (1000000, 'username:jdoe');

Given this workaround, I still tend to set the priority to 0,
as it's not really practical to fix every new account manually
in the database.
Project Member Comment 1 by, Oct 19 2016
Status: Accepted
Project Member Comment 2 by, Oct 19 2016
Status: ChangeUnderReview
Project Member Comment 3 by, Oct 19 2016
Status: Submitted
Sign in to add a comment