Wallet made a breaking change and now accepts the referer parameter in the header instead of a URL parameter.
As @MaximusHaximus said, it was done to prevent phishing attacks.
The current design does not allow us to add this parameter as a header, because we are constructing the URL and opening it in the browser.
Wallet made a breaking change and now accepts the referer parameter in the header instead of a URL parameter. As @MaximusHaximus said, it was done to prevent phishing attacks.
The current design does not allow us to add this parameter as a header, because we are constructing the URL and opening it in the browser.
Related logic: https://github.com/near/near-cli/blob/master/index.js#L123
cc @frol it is broken in RUST CLI as well.