How to use Identity with manual deploy

Hey @rk-statichtml

You can redirect a visitor to a specific page if they are not logged in (e.g. /login) using redirects as in this documentation.

You can also bind actions to events (as listing in @netlify/netlify-identity/widget README such as

netlifyIdentity.on('login', user => console.log('login', user));
netlifyIdentity.on('logout', () => console.log('Logged out'));

which you could use to redirect a visitor to a specific page.

Edit:
I have a demonstration of this deployed to vigorous-mcnulty-55e26b.netlify.app. You can use demo credentials username: demo@coelmay.org password: ISbUnb3bXvLr to log in. This is a basic-user, so does not have access to the staff area and is thus shown and unauthorised page.