remove workaround for audience update
@@ -19,15 +19,15 @@ char* generateRefreshPostData(const struct oidc_account* a, const char* scope,
// not we use the same as for the used refresh
// token. Usually this parameter can be
// omitted. For unity we have to include this.
- char* aud_tmp = oidc_strcopy(
- strValid(audience)
+ char* aud_tmp =
+ oidc_strcopy(strValid(audience)
? audience
- : account_getAudience(
- a)); // if audience is explicitly set use it, if not we use the
- // default audience for this account. This is only needed
- // if including audience changes not only the audience of
- // hte new AT, but also of the RT and therefore of future
- // ATs.
+ : NULL); // account_getAudience(a)); // if audience is
+ // explicitly set use it, if not we use the
+ // default audience for this account. This is
+ // only needed if including audience changes
+ // not only the audience of the new AT, but
+ // also of the RT and therefore of future ATs.
list_t* postDataList = list_new();
// list_rpush(postDataList, list_node_new(OIDC_KEY_CLIENTID));
// list_rpush(postDataList, list_node_new(account_getClientId(a)));
