Great video, thanks! Could you make one about Authorization as well? e.g. Flutter widgets available only to admin users, restricted server side (e.g. Lambda) functions
The Amplify Authenticator component offers extensive customization options. You can refer to its documentation for more information on how to customize it according to your needs. Refer - ui.docs.amplify.aws/flutter/connected-components/authenticator/customization#full-ui-customization
When the token expires, the session may expire as well. There are two possible scenarios. The first is that if a user has been on the same page for a long period and makes an HTTP call, your API should return 401 unauthorized since the token has expired. Second, while switching between screens, you should create an auth guard that uses Amplify library functions to determine whether or not the session is still alive. So, addressing these two issues should resolve your issue.
Great video, thanks! Could you make one about Authorization as well? e.g. Flutter widgets available only to admin users, restricted server side (e.g. Lambda) functions
Thanks!! nice tutorial!!
Thank you so much for awesome video, is it possible to change background color of login page please?
The Amplify Authenticator component offers extensive customization options. You can refer to its documentation for more information on how to customize it according to your needs. Refer - ui.docs.amplify.aws/flutter/connected-components/authenticator/customization#full-ui-customization
how to achieve phone number login by amplify
how to handle if auth session expire
When the token expires, the session may expire as well. There are two possible scenarios. The first is that if a user has been on the same page for a long period and makes an HTTP call, your API should return 401 unauthorized since the token has expired. Second, while switching between screens, you should create an auth guard that uses Amplify library functions to determine whether or not the session is still alive. So, addressing these two issues should resolve your issue.
@@coderjony9694 okay can suggest me the function that you will use if you may come into this scenario
👍👍👍👍❤️