Skip to content

Commit a061caf

Browse files
committed
Bugfix: generate correct wlcg.ver claim name.
Previously, this generated `wlcg_ver` instead of `wlcg.ver`.
1 parent 39289a3 commit a061caf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scitokens_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ friend class scitokens::Validator;
187187
m_claims["aud"] = std::string("ANY");
188188
}
189189
} else if (m_serialize_profile == Profile::WLCG_1_0) {
190-
m_claims["wlcg_ver"] = std::string("1.0");
190+
m_claims["wlcg.ver"] = std::string("1.0");
191191
auto iter = m_claims.find("aud");
192192
if (iter == m_claims.end()) {
193193
m_claims["aud"] = std::string("https://wlcg.cern.ch/jwt/v1/any");

0 commit comments

Comments
 (0)