android - How to set redirect_uri in google developer console? -


i got client id , api key registering project developer console. , while running authentication process error 400. that’s error. error: redirect_uri_mismatch redirect uri in request: http://localhost:8080/ did not match registered redirect uri.

i have not registered redirect uri. can fix or tell me how set redirect uri.i not find redirect url while registering.enter image description here

the redirect uri object used web applications doing oauth2 authentication; so, when create new client id, choose "web application" id type , there text area enter of allowed redirect uris (these web pages coded you, , need perform function of doing oauth2 ticket verification).

if app not web application, choose "installed application" type , you'll key can used in android/ios/desktop app. however, key not useable, @ all, in web application.

if web application doesn't need write data or upload files, can create public api key include parameter requests.

service accounts (which you're showing in image above) not compatible youtube api.


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -