near / near-wallet

Web wallet for NEAR Protocol which stores keys in browser's localStorage
https://wallet.near.org
MIT License
220 stars 176 forks source link

Consider adding OAuth / SAML #1926

Open ilblackdragon opened 3 years ago

ilblackdragon commented 3 years ago

OAuth2 is a global standard for Single Sign on across the web2. Wallet currently implements a Single Sign On process which is based on cryptography.

Consider what would supporting OAuth would look like. This would open up adding login via NEAR across many other properties (like Gitbook).

stefanopepe commented 3 years ago

This is valuable for the work on the NEAR Login, cc @DiscRiskandBisque . Overall, I see users giving more value to private keys that hold money - contrary to PGP, which suffers the unresolved issue of forgotten and lost private keys.

My question is whether this should be part, instead, of APIs that the wallet (and any other 3rd party NEAR wallet) can offer to their users >> the result might be a completely different "NEAR Login" button, using OAuth instead of our current process.