Skip to content

Demo of OAuth + Username / Password authentication in AWS Amplify

Notifications You must be signed in to change notification settings

umakajan/amplify-auth-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.0%
  • HTML 7.1%
  • CSS 3.9%