Hi all,
I am trying to implement the google authentication from the guided path exercise. Everything I have done given in the exercise document. However, I am able to log in through Google but its giving me Internal Error and logging me out.
Below is the screenshot
I have also attached OML
It seems a different implementation from what I already saw.
I have a component in forge for that: https://www.outsystems.com/forge/component-overview/14094/google-auth
You can see also this documentation: https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Accelerators/Login_with_Google_Accelerator?_gl=1*1ejwckt*_ga*MTYyNzE2OTI1NS4xNjY2NzA0MzI3*_ga_ZD4DTMHWR2*MTY2OTM4MTYwNy4xMDIuMS4xNjY5MzgyMTI2LjYwLjAuMA..
Hello Paulo,
It worked actually!! But at the end it is not redirecting user inside the application after authentication. Is there any way to fix this?
Hello,
You are using my component?
If yes, the redirect Should be done on the login page after Success
Actually I have done it using the google login accelerator
So the behavior is the same, my component is based on accelerator with some changes because the accelerator doesn't work with new authorizations.
The component has an event OnLoginSuccess (Something like that), here on your screen you should redirect the user.
Regards
Yes , I tried with your component and it is working perfectly fine. Just one question, I want to create the user with same credentials used for gmail login. Is there any way to create the user with the same credentials from google?
In fact I don't know if it's possible get the credentials from Google and if it's a common behavior. I'll explore and let you know, it's interesting to know :)
Thank you so much for your help!!
Hi,
First things first, did you check the error log in Service Center, on the error check the stack trace for the original of the error.
Regards,
Daniel
Hi Daniel,
Below is the error log:
@Paulo Torres The component for google authentication stopped working. Does it need paid API?
Hello @Xavior,
Still works for me.
What's the error you have?
It keeps landing me on same page. Can you please provide a demo where application is landing on home screen after authentication?
I added a demo in forge component, you can download from there. Any doubt let me know.
Thank you for your efforts. It helped me a lot :)
I'm glad to help you 🙂
Hi Paulo,
Thanks for the component, I am using it now. I think even Outsystems documentation should also be updated.
Thanks for your feedback :)
Not only documentation but this component as a supported component doesn't work.
I'll try to enrich the documentation, trying to arrange time xD