1
votes

I am trying to create a simple app, where, after registration, you end up in your github account.

Which parameter in the request should the password substitute?

I though of using this one:

https://api.github.com/users/whatever?client_id=xxxx&client_secret=yyyy'

but it is only the username used here, followed by the authentication.

1

1 Answers

1
votes

Which parameter in the request should the password substitute?

From the API OAuth documentation:

client_secret: The client secret you received from GitHub when you registered.

So you should not use the GitHub account and password, only the application secret credential.