I would like to know how we can create Ouath 2 athorization token without login screen. Because I am using /api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult
API for making calls on hold. But this API requires Oauth2 acess token. I got to know that SAML2.0 type will provide us the access token without login screen but it requires SSO setup. But out client don't have anything like that. So kindly help me out.
The only grant types that allow you authorize an application without using the Genesys Cloud login screen are the SAML2 Bearer and Client Credential grants. Only the former provides a user context, which is required for certain tasks, such as manipulating conversations.
Thanks for your information.
Is there any way we can call Oauth 2 API's in Data action. If so, how athorization will happen in that case. Will it open new login page.
But keep in mind that data actions only support the client credentials OAuth grant type, so you can't use data actions with API endpoints that require a user context.
@Magudeeswaran_N please take note of the next two replies in that thread:
I'm saying the same thing now as I said then: You can only use client credentials in data actions. You cannot use user-based API endpoints in data actions.