-
Notifications
You must be signed in to change notification settings - Fork 58
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 missing field icon_url to ConnectionOptionsOkta #153
Conversation
Codecov ReportBase: 94.89% // Head: 94.89% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## main #153 +/- ##
=======================================
Coverage 94.89% 94.89%
=======================================
Files 38 38
Lines 6506 6506
=======================================
Hits 6174 6174
Misses 264 264
Partials 68 68
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. |
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.
Hey @adrianosela 👋🏻
Thanks a lot for the contribution! The only thing we're missing is to generate the accessors for this new field. You can do so by simply running make generate
.
I would have pushed them myself to your branch but unfortunately the checkbox to allow maintainers to push to your branch is disabled.
Hey @sergiught! Done -- thanks for picking this up so quickly! When can I anticipate a new release to be available? |
Awesome, thanks @adrianosela 👍🏻 We'll ship a new release very soon, potentially tomorrow or early next week. |
Hey @adrianosela 👋🏻 the release with your contribution is out 🥳 -> https://github.com/auth0/go-auth0/releases/tag/v0.15.0 |
We're updating as well our README and adding a CONTRIBUING guidelines to make it easier to contribute to the SDK: #156, soon to be merged in. Feel free to give it a look. |
@sergiught awesome news! Thanks for the super-fast turnaround! |
🔧 Changes
Adding missing field
icon_url
to structConnectionOptionsOkta
with the nameLogoURL
following the conventions on the other provider types' options i.e. bothConnectionOptionsOIDC
andConnectionOptionsGoogleApps
have a field calledLogoURL
with JSON tagsjson:"icon_url,omitempty"
.The Auth0 API already supports this field in this option -- evidence below in Testing section.
This change would be really nice because it is blocking me from enabling my customers to set icon URLs on their Okta integrations (a feature we've built on-top of Auth0 leveraging Auth0 Organizations).
📚 References
🔬 Testing
Using the HTTP post body in a file called payload.json (note that fields marked
[HIDDEN]
means I don't wish to share their value here):The POST request:
Getting the connection to verify the stickiness of the icon_url setting:
My connection in the auth0 console:
📝 Checklist