You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which operating systems have you tested for this bug?
Windows
Which server did you use?
apache
Database
MariaDB
Did you add customize OAuth?
Google
What happened?
The first name column in the database table had the user's first and last name combined. After checking the data coming back from the Google OAuth system. It returns the following field: name, given_name, family_name, .... It seems the library (this) uses the 'name' field instead of 'given_name.'
Steps to Reproduce
Integrate Google Sign in into a blank CodeIgniter 4 project using this library. Follow the docs
Expected Output
The first name must only have the first name and the last name must only have the last name. This is in connection with the users table.
Anything else?
Nothing
The text was updated successfully, but these errors were encountered:
AaronMk44
changed the title
Bug: namespace Datamweb\ShieldOAuth\Libraries\GoogleOAuth class line 100 uses an incorrect property.
Bug: namespace Datamweb\ShieldOAuth\Libraries\GoogleOAuth class line 100 uses an incorrect property for the user's first name.
Oct 14, 2024
PHP Version
8.1
CodeIgniter4 Version
4.5.5
Shield Version
1.1
Shield OAuth Version?
dev-develop
Which operating systems have you tested for this bug?
Windows
Which server did you use?
apache
Database
MariaDB
Did you add customize OAuth?
Google
What happened?
The first name column in the database table had the user's first and last name combined. After checking the data coming back from the Google OAuth system. It returns the following field: name, given_name, family_name, .... It seems the library (this) uses the 'name' field instead of 'given_name.'
Steps to Reproduce
Integrate Google Sign in into a blank CodeIgniter 4 project using this library. Follow the docs
Expected Output
The first name must only have the first name and the last name must only have the last name. This is in connection with the users table.
Anything else?
Nothing
The text was updated successfully, but these errors were encountered: