Skip to main content

Authentication

To install, run yarn template Authentication

See the Authentication Tutorial to learn about how to enable authentication and customize this component.

note

This sample authentication accepts any password.

Authentication

The Authentication Component provides example code that collects login credentials and manages access control by implementing the useAuth hook. This sample code does not perform any real authentication until you hook it up to your back end. See Authentication Tutorial for complete instructions on enabling authentication in your SmartDesktop.

Authentication Component