oidc: add regression tests for token claim json
this helps to verify that the same JSON is produced, after these types are refactored.
This commit is contained in:
parent
4dca29f1f9
commit
11682a2cc8
8 changed files with 392 additions and 0 deletions
11
pkg/oidc/regression_data/oidc.jwtProfileAssertion.json
Normal file
11
pkg/oidc/regression_data/oidc.jwtProfileAssertion.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"aud": [
|
||||
"foo",
|
||||
"bar"
|
||||
],
|
||||
"exp": 12345,
|
||||
"foo": "bar",
|
||||
"iat": 12000,
|
||||
"iss": "zitadel",
|
||||
"sub": "hello@me.com"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue