AuthId #201
Replies: 2 comments 1 reply
-
Can I add in the api.ts and open you a PR in order to integrate an endpoint like this one below in order to retrieve the auth_id having the setup_id?
|
Beta Was this translation helpful? Give feedback.
-
I'm not sure if I completely understand the use case. How would you know which authId you are requesting? The setupId is associated with an 'application' on the service you're connecting to. Github for example. An authId is associated with an individual user (or more specifically, an instance of authentication with the API). In the example above you'd be receiving all authentications (kind of like if pizzly offered a get to You can certainly recreate the functionality of the client in dotnet, but you'd need to handle the auth approval dance between your code, the service, and pizzly-or manually set the authId. The node client is an example of this in action. |
Beta Was this translation helpful? Give feedback.
-
Hi team,
I have forked the repo, cause I would like to develop a dotnet core wrapper to be used for calling authenticated endpoint (like for example Github /user).
I would like to obtain the authId value stored by the backoffice (that manage the OAuth challenge).
Is there any API that I can call (from postman for example) having the SetupID or ClientID (or something else :D) of the integration?
From the JS example seems that the only way to retrieve an authId is when you challange the authentication by this method:
github.connect().then(({ authId }) => { // The authentication was successful console.log(
Auth ID is: ${authId}) }).
Thank you,
Dave.
Beta Was this translation helpful? Give feedback.
All reactions