Rémy Coutable
|
cc66c3fda2
|
Don't force the encoding of the OAuth provider in Gitlab::OAuth::AuthHash#provider
Some providers freeze their name (e.g.
414c43ef3f/lib/omniauth/strategies/google_oauth2.rb (L1) ),
so trying to modify the string would fail with a `can't modify frozen
String` exception (see
https://gitlab.com/gitlab-org/gitlab-ce/issues/37845#note_40308148).
In this case, we can just stop trying to force the encoding of the
provider name as they should always be in utf8 by default.
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
2017-09-14 10:29:35 +02:00 |
|
Alexander Keramidas
|
4df54f2607
|
Profile updates from providers
|
2017-09-06 16:38:52 +03:00 |
|
Grzegorz Bizon
|
28bafd5354
|
Enable Style/SpaceAfterComma Rubocop cop
|
2016-06-29 15:23:44 +02:00 |
|
Douwe Maan
|
98e1a5b634
|
Allow LDAP users to change their email if it was not set by the LDAP server
|
2016-01-19 16:25:38 +01:00 |
|
Corey Hinshaw
|
d8b3c3274c
|
AuthHash should not parameterize email user
|
2015-12-10 18:49:48 -05:00 |
|
Douwe Maan
|
909a8443c6
|
Shuffle config around a bit
|
2015-09-09 11:40:31 +01:00 |
|
Douwe Maan
|
c915e2c823
|
Allow configuration of LDAP attributes GitLab will use for the new user account.
|
2015-09-08 16:18:14 +01:00 |
|
Douwe Maan
|
c16b1651f5
|
Fix infinite loop when SAML was incorrectly configured.
|
2015-08-17 16:39:22 -07:00 |
|
Onur Küçük
|
0ae574007d
|
add common method to force utf8 and force oauth properties to be utf8
|
2015-05-03 00:43:46 +03:00 |
|
Robert Speicher
|
2cefdbb535
|
Move lib/gitlab/oauth to lib/gitlab/o_auth
Lets Rails autoload these files by name
|
2015-04-09 14:19:24 -04:00 |
|