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 < ...)'
Of course that's not the correct way of using authorization tokens. You should pass it as a bearer authorization token in the header.
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 becomehttps://mywebsite.com/api/maintenace/?token=xxxxxxxxxx
then I disable basic auth by change authorization type to "No Auth".I got this error: