How to get login error information in the redirect destination page, at login callback?

I figured out the solution from the official sample as below by myself.

// get error object from library, at the component that is set in errorPath option.
public error$: Observable<any> = this.auth.error$;

and we need to add more small code to html.
we can see useful code at above link.

thank you so much!

1 Like