Closed ArikWiz closed 3 weeks ago
Hey, any ETA on this 🙏 ?
@ArikWiz do you have the response the server?
OKTA internal reference https://oktainc.atlassian.net/browse/OKTA-756114
this is an example of the "settings" of an office 365 app
{
"app": {
"tenantType": null,
"wsFedConfigureType": "MANUAL",
"occSettings": null,
"windowsTransportEnabled": false,
"domain": "somedomain.com",
"msftTenant": "somethinggmail",
"domains": [],
"requireAdminConsent": true
},
"notifications": {
"vpn": {
"network": {
"connection": "DISABLED"
},
"message": null,
"helpUrl": null
}
},
"manualProvisioning": false,
"implicitAssignment": false,
"notes": {
"admin": null,
"enduser": null
},
"signOn": {
"defaultRelayState": null,
"ssoAcsUrlOverride": null,
"audienceOverride": null,
"recipientOverride": null
}
}
if "ManualProvisioning" is added to Saml11ApplicationSettings (in okta/model_saml11_application_settings.go) and App map[string]string is changed to App map[string]any the unmarshal will work
thank you @duytiennguyen-okta
Describe the bug?
When unmarshalling okta apps in the ListApplications API, i get the following error:
i think it's because of this unexpected field:
unlike the other fields, it does not appear in:
in the file: github.com/okta/okta-sdk-golang/v5@v5.0.0/okta/model_saml11_application_settings.go
What is expected to happen?
expected to successfully unmarshal the response
What is the actual behavior?
the above mentioned error
Reproduction Steps?
call "ListApplications" in an okta tenant that contains an saml1.1 app. For example "Microsoft Office 365"
Additional Information?
No response
Golang Version
go version go1.22.4 darwin/amd64
SDK Version
5.0.0
OS version
No response