# Authorization request not sending scope

**URL:** <https://community.postman.com/t/authorization-request-not-sending-scope/46084>\
**Category:** Help Hub\
**Tags:** authentication\
**Created:** [April 6, 2023, 5:06pm UTC](https://community.postman.com/t/authorization-request-not-sending-scope/46084 "2023-04-06T17:06:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewowen](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@andrewowen](https://community.postman.com/u/andrewowen)\
**Post date:** [April 6, 2023, 5:06pm UTC](https://community.postman.com/t/authorization-request-not-sending-scope/46084/1 "2023-04-06T17:06:21Z")

</div>

_My question_: I am new to Postman and APIs in general, and I’ve somehow managed to create a working API call that returns the data I’m looking for, which is great! However, the authorization for this call seems to reset after an hour to a day or so, and I would like to get a refresh token to automatically refresh the token when it expires, but the option is greyed out.

On doing a bit of googling, I found that I need to add the offline\_access scope to my token request to get a refresh token, seems simple enough! But I have discovered that neither that scope nor the one I already had entered are being sent with the request, so I’m a bit stumped on how the request was authorized in the first place.

I followed a guide online which did not include scope in the directions, so it seems it’s working as intended, but I’d really like to get a refresh token so I can not worry about the auth token expiring.

I’m using Postman as a test environment as the console is much nicer with it’s error reporting than what I’m ultimately trying to get connected to this API, so I suppose it’s possible the solution here won’t transfer, but it did before and I’m hoping it does again.

_Details (like screenshots)_:  
I’ve removed identifying information from the screenshots.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/e/7/e79bc410b9aec8e3761995f9f59dab3c0212bc8f.png)  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/2/e/2e37bbfb9b91999182af65b53cab616e35aa3b28.png)

When I generate the token I get this after the token itself:

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/b/e/be6ad8d70d5623b418795692de881e90625b5419.png)

_I’ve already tried_: I’ve tried adding the simple names for the scopes( User.Read offline\_access), I’ve tried the full URLs given in the azure app registration ( [https://graph.microsoft.com/offline\_access](https://graph.microsoft.com/offline_access) but for both) and the url/content in the Expose an API section in the app registration ( api://d74a0011-5c21-46a8-8828-680ba3d51fad/offline\_access but for both) and no mention of a scope in the auth request.

I’ve also tried setting them as a variable all three ways with no help.
