-
Notifications
You must be signed in to change notification settings - Fork 91
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
Add addons.samlp.issuer field to client resource #334
Conversation
91048da
to
4afd3d7
Compare
Thanks for the PR, it's working like a charm |
0376a67
to
7e1a452
Compare
One test is failing and I'm not 100% sure why. The Terraform plan is failing because Terraform wants to change things which is normal in this case, is that something that must be manually applied by maintainers when a resource changes? Also I'm a bit confused by the |
Hey @xens 👋🏻 first of all thanks for the contribution! 🌟 So the tests make use of pre-recorded http interactions found in the recordings folder. To add new recordings or to simply recreate new ones when functionality is added you can:
The current test fails with:
Because we haven't updated all the registered interactions for that test to include the issuer field. Hope this helps, but if you still experience issues we can help out and adjust the recordings together after we finish tackling #14. |
7e1a452
to
19f2973
Compare
thanks @sergiught for the detailed explanations! I've been able to run the tests locally and fix the required recordings. However the tests are still failing on the |
Hey @xens 👋🏻 thanks for that! 👍🏻 I'll be able to help get this in the right place tomorrow, no worries about the conflicts either. If I can push to your branch I'll fix them as well. |
Hey @xens 👋🏻 , I set this branch to draft mode while we get this in the right place. |
19f2973
to
e2e500a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @xens for your contribution! Everything was looking great, I just helped out with rebasing and fixing conflicts. Please give it another look as well and let me know when you're done.
Codecov ReportBase: 86.80% // Head: 86.82% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #334 +/- ##
==========================================
+ Coverage 86.80% 86.82% +0.01%
==========================================
Files 40 40
Lines 8476 8485 +9
==========================================
+ Hits 7358 7367 +9
Misses 858 858
Partials 260 260
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@sergiught thanks for the review, lgtm! 🥳 |
🔧 Changes
This PR adds support for the
issuer
field within the samlp client addon. Theissuer
defaults tourn:your_tenant.auth0.com
if not set explicitly. It can be set to something else including theproto
part, for example;https://mydomain.com
.📚 References
🔬 Testing
I've added the option to the existing
testAccClientConfig
test.📝 Checklist