This app demonstrates form-based sign-up and redirect to an authenticated space.
Each of these links require particular roles (or, any authentication) to access. If you're not authenticated, you will be redirected to a dedicated login page. If you're already authenticated, but do not meet the authorization requirements (e.g. you don't have the proper role), then you'll get an Unauthorized HTTP response.