I was implementing OAuth 2.0 from this article and encountered an issue with obtaining refresh token. I`ve found some tickets in the community about this topic, but none of them helped me to resolve my issue.
I`ve added offline_access scope to request to /authorize endpoint , and now my url looks like this
https://auth.atlassian.com/authorize?audience=api.atlassian.com
&client_id=my_client_id
&scope=read:me%20read:account%20read:jira-work%20read:jira-user%20read:servicedesk-request%20read:servicemanagement-insight-objects%20offline_access
&redirect_uri=my_callback_url
&state=Z838926.34:51:31T72-30-42029310cc0db380-99d8-b8d4-15e4-1fa5cd1a:020217
&response_type=code
&prompt=consent
but even after receiving authorization code and exchanging it to access token
my response only contain access_token
Can someone please assist in this manner