okta-sdk-golang
okta-sdk-golang copied to clipboard
Allow requests to custom endpoints in v4
Describe the feature request?
In v4, there are some Okta API endpoints that're not supported by the SDK, such as the beta /api/v1/org/factors endpoint. It would be good if we could send API requests even if they're not directly supported via SDK.
If this is a problematic request, even just exporting APIClient.prepareRequest function would help a lot.
New or Affected Resource(s)
All unsupported endpoints (e.g: Factor administration), or any recent endpoints added to API but not yet available in SDK versions
Provide a documentation link
https://developer.okta.com/docs/reference/api/factor-admin/#get-org-factor
Additional Information?
In v2 we were able to send custom requests easily as the example below:
req, _ := client.CloneRequestExecutor().NewRequest("GET", urlStr, nil)
resp, err = client.CloneRequestExecutor().Do(oktaCtx, req, nil)
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.
OKTA internal reference https://oktainc.atlassian.net/browse/OKTA-742335
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.
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.
Hello @duytiennguyen-okta ! Any news ?
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.