oidc– Next Generation Identity Authentication authorization protocol based on OAUTH2

Source: Internet
Author: User
Tags openid

OIDC (OpenID Connect), the next generation of Identity authentication authorization agreement; Current release version 1.0;

OIDC is a new authentication and authorization agreement based on Oauth2+openid integration; OAuth2 is an authorized (authorization) Open protocol, widely used in the world, but in the actual use, OAUTH2 only solves the authorization problem, does not realize the authentication part, often needs to add the additional API to realize the authentication; And OpenID, is a certification (authentication) of the agreement, both in the actual use of the process has its limitations;

The combination of the two, that is OIDC; Through OIDC, can have OAUTH2 function, also have the function of OpenID; Right...

OIDC will be the alternative (or upgrade) OAuth2, OpenID option.

OIDC the identity authentication information based on the access_token of OAuth2; Other information, such as-– and Idtoken, is obtained through public key and private key matching.

A Idtoken (base64) generated using JWT:

Eyjhbgcioijsuzi1niisimtpzci6ijm3mtc2nja0otexodeynzkwnzgifq.eyjpc3mioiixmtexiiwiyxvkijoimtexmsisimf0x2hhc2gioii4zjgxythjos 1jnwjiltqwowmtyji0ni1lmzeyzmuwyzm4nwmilcjyzwdpc3ryyxrpb24ioiixmjm0nty3ocisimv4cci6mtq2mzyymja4niwianrpijoirnl5agzoynqtu0n Lr2tptwrgmvg2dyisimlhdci6mtq2mzu3odg4niwibmjmijoxndyzntc4odi2lcjzdwiioijsc3otb2lkyyj9.hdccs8pisdwupp6eyd-9jceetj2ztscbeup Itit43gmybddiublc90ut9bxke6e3awhels3asemreftlnly09pwdcxxvhjyceixo_ Dnzqu-zqxeshzpee6d1wszucbj6yxoxmh0laba24uu3cbqsrqborsymh2_xa5q5ep66ioajrudhnxhmswel85jtl9_ H0syfrnpz9c0mru2x9yztht129o53ggqtjwqxrxlabcd1dd35dyiztagqqwdpo3gfg7yseneiq6mf2d6nibu9llaqh4stthq_ahme06qkenat_ Sxnmijn2uhw7u0e08s-59oxtoy9wint78qj5ifwjw

In the implementation of OIDC protocol, its bottom layer is based on OAuth2. Some commonly used libraries such as: JWT (https://jwt.io/), JWS; OAuth2 implementations such as Spring security OAuth, Oltu.

For more information, refer to: http://openid.net/connect/

Embrace OIDC ...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.