Hi @mayhew3,
Do the email addresses share a domain? If so you can use a domain-specific rule.
If not, you could store the email addresses in a .txt
file in Dropbox and reference that in the rule. Here is an example: Dropbox WhiteList
You could use this approach with other cloud storage options or your own protected API as well.
You can capature login errors by subscribing to the error$
observable
authService.error$.subscribe((error) => console.log(error));
If you’re using the Angular Quick Start, you can edit the ngOnInit
function in the src/app/components/nav-bar/nav-bar.component.ts
file to log the error:
ngOnInit() {
this.auth.error$.subscribe((error) => console.log(error));
}
Hope that helps!
Stephanie