DEV Community

Anuja Piayadigama
Anuja Piayadigama

Posted on

1

Go test to validate connect2id gives “invalid_client” error

I'm trying to validate the Connect2id set up with Go test and I'm getting following error.

"Client authentication failed: Missing client authentication","error":"invalid_client"

The full scenario output is look like below.

Feature: Test Identity Provider

  Scenario:                                                             # features/idp.feature:3
    Given identity provider 'hf1-idp.json'                               # main_test.go:72 -> *Scaffold
    When I request an access

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay