New issue
Advanced search Search tips
Starred by 1 user

Issue metadata

Status: Submitted
Owner: ----
Closed: Oct 2016



Sign in to add a comment

Not able to set username for OAuth scheme

Project Member Reported by david.os...@gmail.com, Oct 18 2016

Issue description


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].

[1] https://gerrit-review.googlesource.com/66311
[2] https://gerrit-review.googlesource.com/71735
[3] https://gerrit-review.googlesource.com/74441

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 david.os...@gmail.com, Oct 19 2016

Status: Accepted (was: New)
Project Member

Comment 2 by david.os...@gmail.com, Oct 19 2016

Status: ChangeUnderReview (was: Accepted)
https://gerrit-review.googlesource.com/89291
Project Member

Comment 3 by david.os...@gmail.com, Oct 19 2016

Status: Submitted (was: ChangeUnderReview)

Sign in to add a comment