Skip to content

Commit b49c1d0

Browse files
ntk148vactions-user
authored andcommitted
Prettified Code!
1 parent 79effa7 commit b49c1d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

authn-authz/oauth2-oidc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ OpenID Connect is an extension of OAuth2 that adds an identity layer to the auth
1818

1919
## 3. The differences between OAuth2 and OpenID Connect
2020

21-
The main difference between OAuth2 and OpenID Connect is that OAuth2 is only concerned with authorization while OpenID Connect is also concerned with authentication. Authorization means granting access to resources, while authentication means verifying the identity of a user. OAuth2 does not provide a standard way to obtain user information, while OpenID Connect does. OAuth2 relies on access token, which are opaque strings that can only be validated by the resource server, while OpenID Connect relies on ID tokens, which are self-contained and can be validated by the client. OAuth2 is more flexible and can be used for various types of applications, while OpenID Connect is more specific and can be used for single sign-on and social login.
21+
The main difference between OAuth2 and OpenID Connect is that OAuth2 is only concerned with authorization while OpenID Connect is also concerned with authentication. Authorization means granting access to resources, while authentication means verifying the identity of a user. OAuth2 does not provide a standard way to obtain user information, while OpenID Connect does. OAuth2 relies on access token, which are opaque strings that can only be validated by the resource server, while OpenID Connect relies on ID tokens, which are self-contained and can be validated by the client. OAuth2 is more flexible and can be used for various types of applications, while OpenID Connect is more specific and can be used for single sign-on and social login.
2222

2323
## 4. How to choose between OAuth2 and OpenID Connect
2424

0 commit comments

Comments
 (0)