oidc-provider-plugin
oidc-provider-plugin copied to clipboard
Required environment variable matching for claim precedence
- [x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
- [x] Ensure that the pull request title represents the desired changelog entry
- [x] Please describe what you did
- [x] Link to relevant issues in GitHub or Jira
- [x] Link to relevant pull requests, esp. upstream and downstream changes
- [x] Ensure you have provided tests - that demonstrates feature works or fixes the issue
As part of #22 I have had a (very rough) go at supporting required environment variables for claims.
I have outstanding issue on tests with missing descriptor java.lang.AssertionError: class java.lang.String is missing its descriptor in public final java.util.List io.jenkins.plugins.oidc_provider.config.ClaimTemplate.requiredEnvVars. See https://www.jenkins.io/redirect/developer/class-is-missing-descriptor not sure how to solve this for List of String.
Thanks! I am pretty busy so I cannot promise to review this promptly but I will get to it when I can.
Still have not had time to review I am afraid—too many things to juggle!
hey @jglick, wondering if you had a chance to look at this?
Not yet I am afraid.
@iwarapter hi, I encountered similar issue with you, I tried a different path which is now working ! Try #35 with the prebuilt hpi package: https://ci.jenkins.io/job/Plugins/job/oidc-provider-plugin/job/PR-35/