Step 1 : go to the link below for generating code -> click allow -> copy from the url bar and update the code variable in environment
link : https://authentication.logmeininc.com/oauth/authorize?client_id=&response_type=code&redirect_uri=https://www.codanalytics.net/
curl --location --request POST 'https://authentication.logmeininc.com/oauth/token' \
--header 'Authorization: Basic {{client-id:client-secret in base64}}
' \
--header 'Accept: application/json' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'redirect_uri=https://www.codanalytics.net/' \
--data-urlencode 'grant_type=authorization_code' \
--data-urlencode 'code={{code-generated}}'