The Github third party provider can be customized using the following config:
import supertokens from "supertokens-node";
import ThirdParty from "supertokens-node/recipe/thirdparty";
clientSecret: "TODO: GITHUB_CLIENT_SECRET",
clientId: "TODO: GITHUB_CLIENT_ID",
- It is a secret used only for authorisation in server-side operations.
- It is the public identifier for the app.
- It is a string array which defines your applications access to a users account, by default it grants read/write access to profile info only. Additional features can be found here
- Add additional params to authorisationRedirect.