Flutter에서 Amplify Cognito를 적용해보자 (3)
2편에 이어
amplify auth add를 터미널에서 입력하면
This utility allows you to set up Amazon Cognito User Pools and Identity Pools for your application.
Amazon Cognito User Pool makes it easy for developers to add sign-up and sign-in functionality to web and mobile applications. It serves as your own identity provider to maintain a user directory. It supports user registration and s
ign-in, as well as provisioning identity tokens for signed-in users.
Amazon Cognito identity pools provide temporary AWS credentials for users who are guests (unauthenticated) and for users who have been authenticated and received a token. An identity pool is a store of user identity data specific to
your account.
If you choose to use the default configuration, this utility will set up both a Userpool and an Identity Pool.
라는 메세지가 뜬다.
대충 얕은 영어지식으로 해석해보자면
이 유틸리티는 개발자들에게 회원가입같은걸 쉽게 만들어줄수있고 웹,모바일 가능하고 뭐대충 그런내용이다
인증되지않은 게스트 , 토큰 받은 인증받은 유저들로 나뉘는거같은데 세팅을 고르라고한다
난 일단 default/ email/ 어드밴스드 세팅은 필요없다고 했다.
이제 amplify status를 터미널에 쳐주고 진행이 잘됐나 확인해보자
amplify push도 쳐준다. 로컬에 저장되고 서버에 보내는식인가보다.
aws 콘솔로이동하면 auth가 추가되어있는것이 보일것이다.
내친김에 뭔가 on으로해줘야할거같아서 일단한다
다음편에계속..