0

unknown mode or no mode in request

i'm receiving this error after clicking the sign-in with yahoo id button:ns:http://specs.openid.net/auth/2.0mode:errorerror:unknown mode or no mode in request.any idea on how to fix this?

by
2 Replies
  • nevermind. i solved this issue. it's caused by http_build_query() php function in where it makes the query string separator = '&' instead of '&'
    0
  • thanks ,It save my a lot of time.I use following code,

        $queryStr=str_replace('&', '&', http_build_query($openid_request));
        
        return $openIdEndpoint.'?'.$queryStr;

    but still error, the error message is change 

    Sorry! There is an error with the request we received from the website you are trying to use. Please try again in a few minutes. If this error persists please contact the site administrator. Learn more..

    I don't know why?
    0

Recent Posts

in OAuth General Discussion YDN SDKs