Usage of Access Token in Postman

MDSD9 months ago

Dear Team,

I generate token from preferences page and set the expiry to after one month.

I try to call get https://mywebsite.com/api/maintenace with parameter token so it become https://mywebsite.com/api/maintenace/?token=xxxxxxxxxx then I disable basic auth by change authorization type to "No Auth".

I got this error:

'HTTP 401 Unauthorized - WebApplicationException (SecurityRequestFilter: 128 < ... < OverrideFilter: 49 < ...)'
Anton Tananaev9 months ago

Of course that's not the correct way of using authorization tokens. You should pass it as a bearer authorization token in the header.

MDSD9 months ago

Resolved.

Many Thanks Anton.