giranm/pd-live-react

[Bug] Broken OAuth Workflow

Closed this issue · 1 comments

Summary

Upon introduction of #125, it appears that a logout and a relogin causes HTTP 401 issues - presumably from an invalid token which has been regenerated. While we don't anticipate users to consistently logout and re-login, this is a wider issue which should be mitigated with an upgraded OAuth workflow.

@martindstone has suggested using a native React component to handle OAuth login.

@martindstone has updated our codebase with a pure React component which handles the PD OAuth workflow (#130)
Closing ticket.