davido / gerrit-oauth-provider

OAuth2 authentication provider for Gerrit Code Review. Please upload changes for review to: https://gerrit-review.googlesource.com/#/admin/projects/plugins/oauth
Apache License 2.0
141 stars 84 forks source link

Account conflict after gerrit integrated office 365 login #157

Closed liuzhangbeibei closed 3 years ago

liuzhangbeibei commented 3 years ago

Currently using gerrit3.4.0 [plugin "gerrit-oauth-provider-azure-oauth"] tenant = client-id = fix-legacy-user-id = true We used ldap to log in, and now we have integrated azure AAD and found the following problems: . If the original account ldap user mailbox is the same as the aad user mailbox, aad will not be able to log in . If the original account ldap user mailbox is inconsistent with the aad user mailbox, a new user will be created

can you help me? Thanks

davido commented 3 years ago

There is no out of the box support for migration from LDAP=>OAuth auth scheme.

You could migrate your user data from LDAP to OAuth I think. You could also ask on repo-discuss@ how other gerrit user solved that: https://groups.google.com/forum/#!forum/repo-discuss

liuzhangbeibei commented 3 years ago

Thanks