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

refactor: use yaml for oathkeeper rules #4418

Merged
merged 4 commits into from
Oct 9, 2023

Conversation

krtk6160
Copy link
Member

@krtk6160 krtk6160 commented Oct 9, 2023

No description provided.

@krtk6160 krtk6160 force-pushed the refactor--yaml-oathkeeper-rules branch from 1b9d6b5 to 7b98454 Compare October 9, 2023 12:29
mutators:
- handler: id_token
config:
claims: '{"sub": "{{ print .Subject }}"}'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we were not passing the scope before?

Suggested change
claims: '{"sub": "{{ print .Subject }}"}'
claims: '{"sub": "{{ print .Subject }}", "scope": "{{ print .Extra.scope }}" }'`}'

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We were not in the default values, but we override these in prod and there we were.

@krtk6160 krtk6160 requested a review from nicolasburtey October 9, 2023 12:44
@krtk6160 krtk6160 merged commit 09ee9cc into main Oct 9, 2023
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