Hi community! I'm currently building an Angular App and would like to add a Supabase Login.
Just for context:
The backend part of my application is as good as done. The backend expects a Supabase JWT in the auth header, which it then checks by using the secret provided in the supabase dashboard.
Back to my problem.
I've followed the online tutorials for adding supabase to an Angular application but can't seem to get it right. I'll post my AuthService code below. Can anyone help me find what's wrong? The supabase auth logs don't event show a login attempt, which is why im wondering if the supabase-js call even works properly...