forked from Mirrors/oauth2
4b83411ed2
Add an Audience field to jwt.Config which, if set, is used instead of TokenURL as the 'aud' claim in the generated JWT. This allows the jwt package to work with authorization servers that require the 'aud' claim and token endpoint URL to be different values.
Fixes #369.
Change-Id: I883aabece7f9b16ec726d5bfa98c1ec91876b651
GitHub-Last-Rev:
|
||
---|---|---|
.. | ||
example_test.go | ||
jwt.go | ||
jwt_test.go |