James Miller
@JamesMillerBlog
Followers
261
Following
352
Media
360
Statuses
2K
Creative Technology π Dog πΆ Blog π¨βπ»
Somewhere in the Metaverse π
Joined December 2010
How to make real-time β‘οΈ, multiplayer π§βπ€βπ§, cross-device compatible π»π±π₯½ WebXR experiences. A thread based on a 3-part blog post I've written: https://t.co/ASxm8OH85k π§΅π
1
0
3
How to set up Auth with Metamask using Amazon Cognito (part 2) -
0
0
0
Great photo book made by my friend @andybillman1 π
#Crowdfunding for my #photobook has launched! π Dead Cow Rising presents contemporary landscape #photography from the shale oil & gas region of #VacaMuerta in Argentina. Support the @Kickstarter today! β€οΈβ‘οΈ https://t.co/TjYIdewh7c
0
0
1
If you enjoyed this thread, you may enjoy the other topics I write about on my blog. Here is the link if you want to check it out :D https://t.co/j77qXRwUGY
0
0
0
Step 8: Your user has completed Auth!! Yay you've done it :D The user can now access your dApp and can now interact with your AWS Back End APIs / Smart Contracts!!
1
0
0
Step 7: Generate Cognito Identity credentials Using that Amazon Cognito Identity, we will now using AWS Security Token Service (STS) to generate a temporary set of Identity Access Management (IAM) credentials and then return these to the Front End.
1
0
0
Step 6: Generate / retrieve Cognito Identity Since we have validated a genuine user, we now want to generate access credentials for that user. We do this by retrieving that public addressβs Amazon Cognito Identity, if one does not exist then we will generate one for them.
1
0
0
Step 5: Validate signature Once the Back End receives your signature, nonce and address β it can then start the process of validating the signature.
1
0
0
Step 4: Log in with signature & public address Now you have a valid signature, you pass this to the Back End, along with the nonce and your public address via a POST method.
1
0
0
Step 3: Sign message with nonce & private key Back on the Front End, we call a function called web3.eth.person.sign() β and pass the nonce and the users address into it, this will trigger a Metamask pop up to appear with these parameters encrypted.
1
0
1
Step 2: Get / create nonce Once the users account address has been retrieved, we then need to get a nonce (random string of characters) that we can then use for the user to sign and prove they are the owner of the account that created the signature.
1
0
0
Step 1: Get account address A user clicks the log in button on your website, this triggers a call to MetaMask to get your account address.
1
0
0
Web3 Auth allows users to self custody their log in details and remove the need for passwords. We can extend this capability with Web2 platforms, by providing these Web3 users with access credentials based on their account's address. I'll summarise how to do this in 8 steps π
1
0
0
Steps to implement Web3 Auth with Ethereum, Metamask and AWS π§΅ Full details on: https://t.co/6Bf8bhcK91
#ethereum #eth #crypto #blockchain #serverless #aws #javascript #MetaMask
1
0
2
Gotta buy that sweet sweet dip!!! π
0
0
1
Web3 Eth Auth βοΈ with MetaMask π¦ and AWS π Oversimplified π vs Overdetailed π #ethereum #blockchain #crypto #eth #metamask #aws #amazonwebservices #amazoncognito #dynamodb #serverless #terraform #serverlessframework
0
0
1
New Wrapper.js template π«: Web3 login with MetaMask π¦ and Amazon Cognito π https://t.co/LA1xLndyIf
#web3 #eth #solidity #crypto #blockchain #aws
3
0
5
A coffee table with printed cast-in hexagon panels that can be individually illuminated [read more: https://t.co/k8iCaZqA34] [video: https://t.co/IbcKjVhIG8]
https://t.co/W9QHRYUjdC
818
12K
82K