91
Views
3
Comments
[OutSystems Accelerators] Login With Google - Issue
outsystems-accelerators
Reactive icon
Forge asset by OutSystems
Application Type
Reactive

Hi 

I'm receiving the error below when my page loads using the "Login with Google" accelerator. When I investigated I saw the library was deprecated.

Google sign in process resulted in the following error:

{"error":"Could not attach click handler to the element. Reason: element not found."}

See https://developers.google.com/identity/sign-in/web/reference for more information.

-------


Any news on this problem?

2024-10-09 04-44-30
Bhanu Pratap

Hi César,

I also faced the same issue while using the accelerators and login in with google. So, I used google login block from google authentication core. For using this block you need to give configuration to your application using google authentication management by providing key and secret key.

  

UserImage.jpg
Sarwila Dwilyanto

Hi  @Bhanu Pratap Singh,

I faced same issue, 

can you give an example? or show how to use google login block.

thank's

2024-10-09 04-44-30
Bhanu Pratap

Sure Sarwila,

You can refer these links. First and Second is for authentication. You need to provide the client key and secret key in google authentication management and then you need to add associated module there in which you wanted to use google login block in. For reference there is documentation as well in links below. Then use google login block from google authentication core in your application by adding dependencies. Third link is for your reference to check login is working or not. 

  1. Google Authentication Core
  2. Google Authentication Management
  3. Google Components Demo
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.