0.0.1 • Published 5 years ago

uport_auth v0.0.1

Weekly downloads
4
License
-
Repository
-
Last release
5 years ago

uport_auth

uPort Auth or simply 'u' is a simple authentication application built on top of uPort identity system. It allows a user to log in with a click of a button and bypass logging in through a centralized third party.

This project is within the usability and dev tooling category for consensus's hackathon. This Application is a response to the convenient one click log in offered through third party companies, however since this authentication is built on top of blockchain technology it means the users information isn't stored, used or sold.

Having a lightweight extension that developers can incorporate into their applications will hopefully lead to greater adoption of the technology.

Blockchain technology posed to solve many of the problems currently facing authentication. Creating lightweight apps that make it possible to start implementing this technology is an important step for the space.

Wireframes and Ideas

an alternative to google, facebook and twitter Create a one click authentification so you can keep your information decentralized

No need to enter an email address

An alternative to signing in with your email address

built with react

React

Minimum Viable Product

Sneak Peak

const transports = require("uport-transports").transport;
const message = require("uport-transports").message.util;

class App extends React.Component {
	state = {
		credentials: ""
	};

	Login() {
		console.log("we are loggin in");
	}

	async componentDidMount() {
		this.setState({
			credentials: await Credentials.createIdentity()
		});
	}

	render() {
		return (
			<div>
				<Button onClick={this.Login}>Login</Button>
				<div>{this.state.credentials.privateKey}</div>
			</div>
		);
	}
}