Annotate

.luacov @ 12938:055b03d3059b

util.sasl.oauthbearer: Return username from callback instead using authzid (BC) RFC 6120 states that > If the initiating entity does not wish to act on behalf of another > entity, it MUST NOT provide an authorization identity. Thus it seems weird to require it here. We can instead expect an username from the token data passed back from the profile. This follows the practice of util.sasl.external where the profile callback returns the selected username, making the authentication module responsible for extracting the username from the token.
author Kim Alvefur <zash@zash.se>
date Thu, 16 Mar 2023 12:18:23 +0100
parent 9469:cd2f742e5826
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9469
cd2f742e5826 .luacov: Add config for luacov, exclude spec/
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
1 exclude = {
cd2f742e5826 .luacov: Add config for luacov, exclude spec/
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
2 "^%./spec/";
cd2f742e5826 .luacov: Add config for luacov, exclude spec/
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
3 }