When the user clicks on the Save To Pocket extension button, if they do not have an auth token, they should be logged in automatically (if they are logged in to their browser) or be given the opportunity to log in to the browser.
Execution Steps
[x] Open extension_login_success page
[x] Gather extension token and userId
[x] Dispatch message back to the Safari Extension App
[x] Handle message received
[x] Request a guid
[x] Request an authentication token
[x] Store authentication token
[x] On successful authentication, complete the save request that initialized it.
Behavior
When the user clicks on the Save To Pocket extension button, if they do not have an auth token, they should be logged in automatically (if they are logged in to their browser) or be given the opportunity to log in to the browser.
Execution Steps
extension_login_success
page