We propose a capability-based access control technique for sharing Web resources, based on Verifiable Credentials (VCs) and OAuth 2.0. VCs are a secure means for expressing claims about a subject. Although VCs are ideal for encoding capabilities, the lack of standards for exchanging and using VCs impedes their adoption and limits their interoperability. We mitigate this problem by integrating VCs into the OAuth 2.0 authorization flow. To this end, we propose a new form of OAuth 2.0 access token based on VCs. Our approach leverages JSON Web Tokens (JWT) to encode VCs and takes advantage of JWT-based mechanisms for proving VC possession. Our solution not only requires minimum changes to existing OAuth 2.0 code bases, but it also removes some of the complexity of verifying VC claims by relying on JSON Web Signatures: a simple, standardized, and well supported signature format. Additionally, we fill the gap of VC generation processes by defining a new protocol that leverages the OAuth 2.0 "client credentials" grant.
翻译:我们根据可核实证书(VCs)和OAuth 2. 0. VCs是表达对某一主题的主张的可靠手段。虽然VCs对于编码能力来说是理想的,但缺乏交换和使用VCs的标准会妨碍其采用并限制其互操作性。我们通过将VCs纳入OAuth 2.0授权流程来缓解这一问题。为此,我们提议了一种基于VCs的OAuth 2.0访问标志的新形式。我们的方法利用JSON Web Tokens(JWT)来编码VCs,并利用基于JWT的机制来证明VC的拥有。我们的解决办法不仅要求对现有OAuth 2.0代码基础进行最低限度的修改,而且还通过依靠JSON网络签名来消除核查VC索赔的某些复杂性:一个简单、标准化和得到良好支持的签名格式。此外,我们通过界定新的协议来利用OAuth 2.0“客户证书”赠款来填补VC生成过程的空白。