Hi,
Repair the Login Keychain first.
https://support.apple.com/en-gb/HT201609
Open Finder Window and then use the Go Menu > Go to Folder.
Enter ~/Library/Keychains
When in the Keychains window select the Login item and the use the CDM + i keys together.
Scroll to the bottom and see if you are listed as having Read and Write Permissions.
Highlight your name.
Unlock the Padlock
Use the cogwheel type icon under the List.
It should read "Make yourname (Me) the Owner" This should be greyed out if you already own the file.
In High Sierra the account has to be added in System Preferences and not in Messages.
This is a reversal of what you need to do in Sierra.
Open System Preferences > Internet Accounts and choose "Add Other Account" (Use the Plus icon under the list of Account if you cannot see the Add Accounts pane) and then choose Messages Account.
(There is no Messages item in the Google Account options)
Although the Account Type looks like a drop down it only list Jabber.
Add the account ID from Google
Add the Password. This will needs to be either Google's Password for the ID or their Password for 2 Step Verification or possibly Apple's App Specific Password if using Apple's 2 Step Verification.
I use Automatically find Server and Port.
You have to go to Messages if you want to be more specific.
In Messages (after adding the account in System Preferences) go to Preferences > Accounts > Google.
Use the Server Settings tab.
These will be dark and Editable if you are not logged in.
If it is grey then go to the Account Info tab and Log out (untick "Enable this account")
The Server is just gmail.com now.
It will show port 5222 if there is no SSL
I have "Warn before sending password insecurely" set.
This pops up a window to remind you each app Start up.
I have no experience of setting this up with Google's Oauth tokens.
(2 Step Verification)
8:21 pm Thursday; May 31, 2018
iMac 2.5Ghz i5 2011 (Sierra)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
iPhone 6 iOS 11.x and an iPad (2)