Auth0 Home Blog Docs

get the error with"error": "unauthorized"

unauthorizederror

#1

HI all , i am new of auth0, I download the example and follow the document , i got error with google , git hub and id/pw…
below is githut log

{ “date”:
“2018-02-03T08:34:09.987Z”, “type”:
“f”, “description”: “Access
denied.”, “connection”: “github”,
“connection_id”:
“con_eQY2i3ZTq1Odi3IT”, “client_id”:
“7wkm2R5pNfz0oudyG2QLk49HWxsUm7oI”,
“client_name”: “My App”, “ip”:
“112.120.197.73”, “user_agent”:
“Mozilla/5.0 (iPhone; CPU iPhone OS
11_2 like Mac OS X)
AppleWebKit/604.4.7 (KHTML, like
Gecko) Version/11.0 Mobile/15C107
Safari/604.1”, “details”: {
“body”: {},
“qs”: {
“code”: “50fc4aed7400795a3b05”,
“state”: “U3z_FjS30PTl6fDxbhvyQz0O9pgUoudg”,
“client_id”: “7wkm2R5pNfz0oudyG2QLk49HWxsUm7oI”,
“response_type”: “code”,
“redirect_uri”: “auth0.samples.auth0sample://dingyau.auth0.com/ios/auth0.samples.Auth0Sample/callback”,
“connection”: “github”,
“sso”: “true”,
"_intstate": “true”,
"_csrf": “deprecated”,
“audience”: “https://dingyau.auth0.com/userinfo”,
“code_challenge_method”: “S256”,
“code_challenge”: “vuvPwxBSS1JIQJWJUBqYwGcDle_MH1BDLgGzMPYlfxA”,
“scope”: “openid profile”,
“protocol”: “oauth2”,
“mfa_requested”: false
},
“connection”: “github”,
“error”: {
“message”: “Access denied.”,
“oauthError”: “unauthorized”,
“type”: “oauth-authorization”
},
“stats”: {
“loginsCount”: 7
} }, “hostname”: “dingyau.auth0.com”, “user_id”:
“github|28052105”, “user_name”:
"fai.myth@gmail.com", “strategy”:
“github”, “strategy_type”: “social”,
“log_id”:
“90020180203083409987355841308813868774634212138644668482”
}

something i was missing?..hope someone can give some help thanks


#2

Could you share a snippet of code from your authentication request? Which library and version are you using?