Posted: 10 May 2021 9:40 EDT Last activity: 10 May 2021 9:43 EDT
how to generate token for authorization grant type
We are using Authorization Code as grant type and i need help with token generation process.
At present, i am using below steps as local action in a button click to generate token
1: Run Activity pxCreateAuthURL - pass my authentication Profile name as input
2: Open URL in new Window
Alternatate Domain Window = .pyOauthURLRedirect
But with this approach, a new browser window is being opened every time the user clicks on a button (which does an API call)
Is there any other best approach for the same. Thanks in advance.