Closed SergiiShapoval closed 4 months ago
OKTA internal reference https://oktainc.atlassian.net/browse/OKTA-716404
@SergiiShapoval so this happened because the header accept need to be both "text/xml", "application/json" right? or just "text/xml" ?
@SergiiShapoval so this happened because the header accept need to be both "text/xml", "application/json" right? or just "text/xml" ?
@duytiennguyen-okta , IMO, if there will be both, it still will work
This issue has been marked stale because there has been no activity within the last 14 days. To keep this issue active, remove the stale
label.
This issue has been marked stale because there has been no activity within the last 14 days. To keep this issue active, remove the
stale
label.
@duytiennguyen-okta , still actual
Not stale
This issue has been marked stale because there has been no activity within the last 14 days. To keep this issue active, remove the stale
label.
Describe the bug?
PreviewSAMLmetadataForApplication needs both
"text/xml", "application/json"
Accept headers, or server will returnbut because of
selectHeaderAccept
client always set onlyapplication/json
https://github.com/okta/okta-sdk-golang/blob/v4.0.0/okta/api_application_sso.go#L127-L130What is expected to happen?
Expect metadata retrieved correctly
What is the actual behavior?
always fail with
Reproduction Steps?
create a SAML app using SDK, and then try to fetch metadata for that SAML app
Additional Information?
worked before in v2.20.0
Golang Version
1.22.0
SDK Version
v4.0.0
OS version
No response