Skip to content

Releases: ymoondhra/tokenAuthFront

v1.0.0

03 Oct 23:17
11658a5

Choose a tag to compare

  • Uses username and password to authenticate with back-end service
  • Uses KeyboardAvoidingView to keep the text inputs and primary button in the screen while the user's keyboard is showing
  • Authentication JS module rewords error messages received from server and only shows the most important one. If the user tries to sign up with a username that is already associated with an account, they are automatically redirected to the log in page, and the information they typed in is transferred as well
  • Uses AsyncStorage to persist the user's authentication token so they do not have to log in every time they open the application

Bugs

  • In iOS development mode, the password text input may be automatically highlighted yellow and you will be prompted to use a strong password generated by the device. You cannot exit out of this without reloading the application

Notes

  • Does not implement interface to change password (endpoint: .../password/change), but that functionality is still supported on the back-end service. However, this version does implement .../password/reset, but it does not actually work because no email server is configured on the back-end.