Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid inserting IdP tokens if config don't ask it for #298

Merged
merged 2 commits into from
Jul 30, 2020

Conversation

martindb
Copy link

Leave IdToken and/or AccessToken empty in vouch JWT if options vouch.headers.idtoken and/or vouch.headers.accesstoke are not explicitly set in the config file.

Beware defaults values for vouch.headers.idtoken and vouch.headers.accesstoke are not set, so if you need them, put the headers name in the config file.

This change reduce drastically vouch JWT size if you don't need the original tokens from your IdP.

bnfinet added a commit that referenced this pull request Jul 30, 2020
@bnfinet bnfinet merged commit db32069 into vouch:master Jul 30, 2020
@bnfinet
Copy link
Member

bnfinet commented Jul 30, 2020

@martindb thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants