PurpleSoftSrl/azure_devops_app

Clicking Settings (iOS) gives UnAuthorized Error

Closed this issue · 1 comments

Steps:

  1. Logged into my Project via PAT. Everything looks great.
  2. Click on Settings (Wrench)

Observed: Error Unauthorized. Tap to Retry

Expected: Unsure. What should I be able to do?

IMG_F082E76173B8-1

When you navigate to the settings page, an api request is made to get the list of your organizations (to allow the user to switch between them). If you get unauthorized, probably your PAT doesn't have 'All organizations' option enabled. If this is the case, you can try to create a new PAT with that option enabled.

Anyway, we should allow the user to view the page even if he gets a 401.

This is the api documentation, and this is the code