Skip to content

401 vs 403 Latest

Choose a tag to compare

@msencenb msencenb released this 21 Apr 17:06
· 3 commits to master since this release

Previously JOConnor would only pick up 401 responses. I've changed 401 to represent 'unauthenticated' and 403 to represent 'forbidden' with explicit response differences in the error enum. Also passing back data on errors so we can parse special bodies representing a force upgrade.

This is a breaking change if your app previously only handled 401s!