@Override
    public String grantAccessRequestBody(List<SecurityAuthConfig> authConfigs, Map<String, String> authSessionContext) {
        Map<String, Object> requestMap = new HashMap<>();
        requestMap.put("auth_configs", getAuthConfigs(authConfigs));
        requestMap.put("auth_session", authSessionContext);

        return GSON.toJson(requestMap);
    }
@Test
    void grantAccessRequestBodyTests() {
        String json = converter.grantAccessRequestBody(List.of(new SecurityAuthConfig("github", "cd.go.github", create("url", false, "some-url"))), Map.of("foo", "bar"));

        String expectedRequestBody = """
                {
                  "auth_configs": [
                    {
                      "id": "github",
                      "configuration": {
                        "url": "some-url"
                      }
                    }
                  ],
                  "auth_session": {
                       "foo": "bar"
                  }
                }""";
        assertThatJson(json).isEqualTo(expectedRequestBody);
    }