a problem about getting authorization_code

52 views
Skip to first unread message

snowflake

unread,
Nov 16, 2012, 4:33:49 AM11/16/12
to rack-...@googlegroups.com
Hi,
    I have a problem puzzling me for a long time.
    Firstly,you should view the webpage: http://developer.github.com/v3/oauth/#non-web-application-flow. At the first step "Redirect users to request GitHub access" ,when I input "https://github.com/login/oauth/authorize?client_id=***&redirect_uri=***" into the address bar,and the user accepts the authorization,GitHub redirects back to my site successfully . But at the address bar,I can only see the redirect_uri,can't get the code parameter. How can I get the code parameter?
    I am looking forward to you reply.Thanks.

nov matake

unread,
Nov 16, 2012, 4:56:36 AM11/16/12
to rack-...@googlegroups.com
Why are you giving "Non-Web Application Flow" document link?
(I'm assuming "Non-Web Application Flow" means "resource owner password grant" or "implicit grant" flow)
In that flow, you shouldn't get authorization code.

If you are actually using web application flow, and not getting any error nor code, then it's probably github api issue.
Please ask github api support in that case.
Reply all
Reply to author
Forward
0 new messages