function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mukesh guptamukesh gupta 

GitHub authentication

Hi Expert,

I have few rquirements:-
 1. GitHub authentication by apex, salesforce on simle button click "Log in GitHub" form visualforce page.
 2. create a Inputtext field on visualforce page to Add new repository on GitHub 

Please suggest.

Thanks
Mukesh
Amit Singh 1Amit Singh 1
Hello Mukesh,

For this, You need to authenticate means you need to consume the API of github use below link for the API reference.
https://developer.github.com/v3/
Hope this helps:)
Thanks!
Amit
mukesh guptamukesh gupta
the secnario is this,

I have a visualforce page with "login to Github" button. when i click this button then need to logged in  into Github with my username and password.

Thanks
Mueksh
Amit Singh 1Amit Singh 1
Yeah, you need to implement the API for the smae.
mukesh guptamukesh gupta
yes, What is way to get this approach?

Thanks
Mukesh