Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auth.ts demo #981

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

auth.ts demo #981

wants to merge 1 commit into from

Conversation

hbenl
Copy link

@hbenl hbenl commented Nov 24, 2023

This PR demonstrates auth.ts successfully fetching the auth tokens after a login in an external browser.
STR:

  • start the browser in a shell, it will print a message "openExternalBrowser: https://app.replay.io/api/browser/auth?key=..." in the shell
  • open that URL in an external browser, click "Sign in with Google" and login
  • after a few seconds you'll see messages "setReplayRefreshToken: ..." and "setReplayUserToken: ..." in the shell

Don't merge this PR: a browser built with it will poll our backend for 2 minutes to get the result of the external login flow every time it is started.

@hbenl hbenl self-assigned this Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant