I have an Angular Auht0 client and an ASP Core backend using Auth0 API. When using social logins everything works fine.
However when using email/password sign-in i miss the correct audience in the JWT token (just a random string?), so the authentication with the backend does not work in this case.
Would i then logout and login again with email/password (without entering the details as it is remembered) i do receive the correct audience details, and authorization with backend works fine.
How come i do not receive the correct audience at first login? Any ideas would be much appriciated.