Answer the question
In order to leave comments, you need to log in
Why does google login throw an error Error 400: invalid_request Permission denied to generate login hint for target domain?
I did authorization through Google, I click on the authorization button and gives this error Screenshots are attached
<script>
function onSuccess(googleUser){
let profile = googleUser.getBasicProfile()
console.log('Email: ' + profile.getEmail())
let token = googleUser.getAuthResponse().id_token
console.log('Token: ' + token)
}
function onFailure(error){
console.log(error)
}
function renderButton(){
gapi.signin2.render('my-signin', {
'scope': 'profile email',
'width': 240,
'height': 50,
'longtitle': true,
'theme': 'dark',
'onsuccess': onSuccess,
'onfailure': onFailure
});
}
</script>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question