php - Error: invalid_request Invalid parameter value for redirect_uri: Uri must consist of printable ASCII characters: -


i created client id , api key in google developer console, given same url in google console , in config file

this url:

https://accounts.google.com/o/oauth2/auth?response_type=code&redirect_uri=http%3a%2f%2flocalhost%3a81%2fmoviemuseui%2fpublic%2flogin%2fchecklogin+&client_id=xxxxxxxx-xxxxxxxxxxxxxxxxx.apps.googleusercontent.com&scope=https%3a%2f%2fwww.googleapis.com%2fauth%2fuserinfo.profile+https%3a%2f%2fwww.googleapis.com%2fauth%2fuserinfo.email&access_type=offline&approval_prompt=force

i getting error

  1. that’s error.

error: invalid_request

invalid parameter value redirect_uri: uri must consist of printable ascii characters: localhost:81/moviemuseui/public/login/checklogin

how solve this, can't find problem.

excluded us-ascii characters disallowed within uri syntax:

   control     = <us-ascii coded characters 00-1f , 7f hexadecimal>    space       = <us-ascii coded character 20 hexadecimal>    delims      = "<" | ">" | "#" | "%" | <"> 

there characters may allowed in uri syntax can cause problems.

"{" | "}" | "|" | "\" | "^" | "[" | "]" | "`" 

and following characters absolutely reserved query component , used specific meaning in protocol.

";" | "/" | "?" | ":" | "@" | "&" | "=" | "+" | "$" | "," 

Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -