in Angular by
Explain Angular Authentication and Authorization.

1 Answer

0 votes
by

The user login credentials are passed to an authenticate API, which is present on the server. Post server-side validation of the credentials, a JWT (JSON Web Token) is returned. The JWT has information or attributes regarding the current user. The user is then identified with the given JWT. This is called authentication.

Post logging-in successfully, different users have a different level of access. While some may access everything, access for others might be restricted to only some resources. The level of access is authorization.

Related questions

0 votes
asked Aug 21, 2021 in Authentication by rajeshsharma
0 votes
asked Jan 6, 2020 in Angular by sharadyadav1986
0 votes
asked Jun 5 in Angular by Robindeniel
...