Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Disable callback url capture for windows as a temp workaround #341

Merged
merged 4 commits into from
May 1, 2020

Conversation

janedegtiareva
Copy link
Contributor

This needs a deeper dive to fix properly.

@janedegtiareva
Copy link
Contributor Author

Tested on windows and through cloud VM terminal login flow (have to use the fallback).

@amgando
Copy link
Contributor

amgando commented May 1, 2020

works fine on macOS

const getAccountFromConsole = async () => {
return await new Promise((resolve) => {
rl.question(
chalk`Please authorize at least one account at the URL above.\n\n` +
chalk`Which account did you authorize for use with NEAR Shell?\n` +
chalk`{bold Enter it here (if not redirected automatically):}\n`, async (accountId) => {
chalk`{bold Enter it here${redirectAutomaticallyHint}:}\n`, async (accountId) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to add whitespace after the e in "here"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise it looks cramped
image

@amgando
Copy link
Contributor

amgando commented May 1, 2020

@AnaisUrlichs can you try this on linux?

git clone git@github.com:near/near-shell.git
cd near-shell
yarn
./bin/near login

does it:

  • open a web browser to NEAR Wallet?
  • move through the wallet flow until the page "you are logged in. close this window"?
  • show something like this in your console when you switch back?

image

@amgando
Copy link
Contributor

amgando commented May 1, 2020

@janedegtiareva CI tests are bc config.js doesn't have a ci-staging key. see #308 for possible fix

@janedegtiareva janedegtiareva merged commit 2bb9f36 into master May 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants