Using the go sdk to generate oidc/oauth2 credentials?

I’m trying to develop an application in go, that will authorize via an oidc app’s client ID and secret, and then generate other temporary credentials.

I found this in the golang sdk:

It’s a struct for open ID connection applications with the credentials, but no way to actually connect with those credentials.

am I missing something, or is this just not implemented in the sdk, and I’ll have to connect directly via http instead of prewritten functions/methods?

Hello,
The SDK you are using is the Go Management SDK which uses the Okta Management REST API.
The file linked is for creating an OAuth2 application.

If you want to see samples in Go with Okta you should use this repo.