Skip to content

Instantly share code, notes, and snippets.

@dubeyji10
Created July 8, 2022 06:25
Show Gist options
  • Save dubeyji10/b231ac9a6599194e7a2aa307d4dae435 to your computer and use it in GitHub Desktop.
Save dubeyji10/b231ac9a6599194e7a2aa307d4dae435 to your computer and use it in GitHub Desktop.
gotomeeting oauth client steps

Generating Access Token and Refresh Token

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/

Step 2: make post request to {{generate_tokens}} url with following body (payload)

client-code code base64 combination of client ID and client secret

code : from url when first request is made (after step 1)

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}}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment