developmentseed / developmentseed/osm-teams

OAuth token expiration is not handled by the UI and/or session manager

Open
#140 0 comments 0 reactions 1 assignee Claimed by @vgeorge View on GitHub
Category: Authentication Type: Bug
Dominant language
JavaScript
Stars
29
Forks
4
PR merge metrics
No merged PRs in 30d

Description

I noticed this when developing on osm-teams locally.

My oauth token expired, and the osm-teams api was returning responses like this when I used the api with a bearer token

`{"statusCode":401,"error":"Unauthorized","message":"Expired token"}`

So that seems correct. However, presently the osm-teams UI did not give any indication that anything was expired, even if I reloaded it:

Screen Shot 2020-01-30 at 2 42 43 PM

Until I clicked on "create new team" which resulted in a 401 error json displayed in browser:

Screen Shot 2020-01-30 at 2 51 39 PM

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.