Skip to content

Regarding google login in telegram webview #186

@santrajyadav196

Description

@santrajyadav196

when i typed my site which is https://zodot.co in telegram, then i want to login use google, then i am unable to login in telegram webview. Pls help me how can solve this issue. google login work everywhere else telegram webview. I am using reactjs-social login, which code is,
<LoginSocialGoogle
client_id={
process.env.REACT_APP_GOOGLE_LOGIN_CLIENT_ID || ""
}
redirect_uri={REDIRECT_URI}
isOnlyGetToken={true}
scope="openid profile email"
discoveryDocs="claims_supported"
onResolve={socialLogin}
onReject={(err) => {
console.log(err);
}}
>
Google login

I am using mern stack technology, in which i want to get access token using reactjs-social-login and send back to backend server so that i can authenticate user again and get detains from backend but using telegram webview api call wont happened pls help me why. let me know if there is any bug in my code or i have to setup any other props for this. Thanks in advance

i am getting this error:
Object {provider: "google", data: {…}}
data: Object
message: "Popup window closed"
stack: "@https://accounts.google.com/gsi/client:81:32↵@https://accounts.google.com/gsi/client:115:373↵Ne@https://accounts.google.com/gsi/client:108:464↵@https://accounts.google.com/gsi/client:107:344↵@https://accounts.google.com/gsi/client:111:564"
type: "popup_closed"
[[Prototype]]: Object
provider: "google"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions