Generating Access Token through API v2
Levelset is asking whether as an Admin if they can generate an access token on behalf of a user and how they would do this. It seems as though from our endpoint that tokens can only be generated for the current user and so would they need to be logged into Vanilla (possibly by Spoofing?) as the user to be able to generate the access token?
Their use case is that they would like to create users through the API, generate an Access Token, then post a discussion on behalf of a user (so they receive a notification when their is a comment/response).
Comments
-
Basically this is a response for an
/api/v2/spoofendpoint. It's definitely possible. Please submit a feature request for it.0 -
This sounds like it would solve other customers' problems. I am thinking of a Github issue created for a customer called Ligadeportiva
0 -
So in this case since it would not be accessible through the API to generate the access token for a different user, would they be able to generate the Access Token manually from the Vanilla Dashboard and then add this info (access_token) when making the API to create a discussion on behalf of another user using this endpoint - https://docs.vanillaforums.com/help/apiv2/swagger/#/Discussions/post_discussions_question
0 -
Hey @Linc seemed to tell Adobe this was possible here: https://vanillaforums.teamwork.com/#/tasks/10668320?c=4044715&
For those without access:
Am I missing something?
0