feat: adds audience into Extra at oAuth2 introspection
@@ -234,6 +234,10 @@ func (a *AuthenticatorOAuth2Introspection) Authenticate(r *http.Request, session
i.Extra["client_id"] = i.ClientID
i.Extra["scope"] = i.Scope
+ if len(i.Audience) != 0 {
+ i.Extra["aud"] = i.Audience
+ }
+
a.tokenToCache(cf, i, token)
}
