[action:login:firebase-anonymous]. This tag is used to specify an anonymous login action on a UI element. For instance, could be added to a link/button where, if the user presses, they enter the app in anonymous mode (without user credentials).
[require:scope:<list of roles, separated by commas>]. This tag needs to be added at page level. It sets the roles a user needs to have in order to access an app page. For Firebase anonymous login, there are the following two options:
[require:scope:anonymous,logged]- both anonymous and authenticated users can view the page.
[require:scope:logged]- only authenticated users can view the page.
[scopes-error]. Defines a general error page shown when the user tries to access a private page without the right access. This is the page that will be shown when an anonymous user tries to enter a page with the
[require:scope:logged]tag. It's a good place to add a button to redirect the user to the login page, so anonymous users can authenticate.
[state:error-scope:<name>]. Defines a specific state page that will show when the user try to access a private page without the right access. There should be a
[state:default:<name>]page, which is the private page where only authorized users can access. Same as previous tag, but allows to create custom error pages for each private page. You need to replace <name> for any word of your choice. This will be used to link each default-error page pair.