Support is part of Event Gallery Extended.

Please get a subscription if you need support. Feel free to use the ticket system or the contact form for reporting defects or pre-sale questions. Make sure you're logged in in order to be able to create a new ticket.

For general information you can also jump to the manual.

Subscribe now!

#3625 – Token

Posted in ‘Event Gallery - General’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Saturday, 20 July 2019 04:42 UTC
 When I try to follow the Credentials setup I get hung up on getting the token from "Select the google account" tab. After account is selected, nothing happens tokens are not being passed into the "Refresh Token" field. I checked the console window and saw the error

Uncaught TypeError: n.startsWith is not a function
at backend.js?v=3.10.22:1
at dispatch (jquery.min.js?a27df020ecce897080b096cd2a88c9a8:2)
at v.handle (jquery.min.js?a27df020ecce897080b096cd2a88c9a8:2)
Object ->code:"4/igHivimKLLoA0RQGjodWrEJ5z3mjSmSEUJr__XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" Failed to load resource: the server responded with a status of 401 ()

But it did include the code as an object. so I manually copied it to the token field.
And now when I try to add new album, When I click on select photos using my credentials I get the message "Fetching data from Google ....." Console has an error
request done Objectalbums: null__proto__: Object
index.php?option=com_eventgallery&view=googlephotos&layout=albumselector&tmpl=component:100 Uncaught TypeError: Cannot read property 'length' of null
at renderAlbums (index.php?option=com_eventgallery&view=googlephotos&layout=albumselector&tmpl=component:100)
at Object.success (index.php?option=com_eventgallery&view=googlephotos&layout=albumselector&tmpl=component:87)
at u (jquery.min.js?a27df020ecce897080b096cd2a88c9a8:2)
at Object.fireWith [as resolveWith] (jquery.min.js?a27df020ecce897080b096cd2a88c9a8:2)
at C (jquery.min.js?a27df020ecce897080b096cd2a88c9a8:2)
at XMLHttpRequest.n (jquery.min.js?a27df020ecce897080b096cd2a88c9a8:2)

Custom Fields

Event Gallery Version 3.10.22 (build f9c6bc2)
Joomla Version 3.9.10
PHP Version 7.3.7
Saturday, 20 July 2019 06:11 UTC

which browser do you use? Does it work in another browser? Can you try it in private browsing, please?

We need to fix the first issue. The token you found is invalid, this causes the second error message.
Sunday, 21 July 2019 04:06 UTC
I tried Chrome, Firefox, Edge and Chrome Private Browsing with same results. After clicking on "Allow" button, field does not get updated.
Sunday, 21 July 2019 05:04 UTC
UPDATE: After re-entering credentials and using "Private" mode on chrome I got it to work. Thank you for great plugin
Sunday, 21 July 2019 05:26 UTC
Interesting. I suspect the secret. Is it possible you added a trailing space character in the secret value?