Skip to content

dabit3/amplify-auth-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Amplify Auth Example

The Complete Guide to Authentication with the Amplify Framework

This repo goes along with the Dev.to blog post The Complete Guide to User Authentication with the Amplify Framework & the demo at amplifyauth.dev.

Methods used to authenticate in this app:

// launch Hosted UI (Buttons.js)
Auth.federatedSignIn()

// specify OAuth provider (Buttons.js)
Auth.federatedSignIn({provider: 'Facebook'})
Auth.federatedSignIn({provider: 'Google'})

// Manually sign up & sign in users (Form.js)
Auth.signUp({
  username, password, attributes: { email }
})
Auth.confirmSignUp(username, confirmationCode)
Auth.signIn(username, password)

To learn how to build this app, check out the post or view the documentation.

About

Demo of OAuth + Username / Password authentication in AWS Amplify

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published