go-client icon indicating copy to clipboard operation
go-client copied to clipboard

FusionAuth Go Client Library!

Results 33 go-client issues
Sort by recently updated
recently updated
newest added

Application registration for an existing user fails due to the non-nillable user field in the RegistrationRequest struct. Change User type property to a pointer

when i want to register user to and application I have a error and give me that user exist: package main import ( "github.com/FusionAuth/go-client/pkg/fusionauth" "log" "net/http" "net/url" ) func main()...

hello. when i use `RegisterWithContext` func for the purpose of https://fusionauth.io/docs/v1/tech/apis/registrations#create-a-user-registration-for-an-existing-user such as ``` res, errs, err := faClient.RegisterWithContext( ctx, userID, fusionauth.RegistrationRequest{ GenerateAuthenticationToken: true, Registration: fusionauth.UserRegistration{ ApplicationId: applicationID, Id: rID,...

The FusionAuth Go client, can hide errors if a response body is not received. This issue can be replicated by providing a bad URL to the client constructor so that...

this shows how to install at a given version and addresses https://github.com/FusionAuth/go-client/issues/72

API response from `/api/webauthn/register/start`: ``` { "options": { "pubKeyCredParams": [ { "alg": -36, "type": "public-key" }, { "alg": -35, "type": "public-key" }, ... } } ``` Golang type: ``` type...

Today, after upgrading to the latest version I got the following compilation errors: github.com/FusionAuth/go-client/pkg/fusionauth ../../../go/pkg/mod/github.com/!fusion!auth/[email protected]/pkg/fusionauth/Client.go:4637:81: undefined: UserinfoResponse ../../../go/pkg/mod/github.com/!fusion!auth/[email protected]/pkg/fusionauth/Client.go:4638:11: undefined: UserinfoResponse

I realize some client functions add `nil` error reference to the next call. For example: https://github.com/FusionAuth/go-client/blob/master/pkg/fusionauth/Client.go#L3420. Is that intentional? (But some other functions declare an error and pass it to...

When trying to create a new registration it's not possible set user to nil, resulting in default user's data being sent to `/api/user/registration` causing Fusion to treat this request as...

Is there a way to create identity-provider using golang client. I don't see any implementation in client.go for creating one.