CCF icon indicating copy to clipboard operation
CCF copied to clipboard

Support authentication using multiple bearer tokens

Open achamayou opened this issue 1 year ago • 2 comments

Some applications may want to authorize user input using multiple bearer tokens, for example an identity and an MAA token.

While there is no standard way to do that, we could support a slightly extended Bearer authentication method for the Authorization header, such that a user can pass:

Authorize: Bearers b64JWT b64JWT ...

A custom authentication policy perhaps named jwts_auth or multiple_jwt_auth would apply the logic in jwt_auth over each token individually, and succeed if all of them pass. A new identity object would expose resolved claims in a collection, for the application to consume.

achamayou avatar Aug 01 '24 11:08 achamayou