apache / apache/pulsar-client-go

Using a real oauth2 service to test the oauth2 auth plugin

Open
#325 0 comments 0 reactions 0 assignees View on GitHub
help wanted triage/week-29 type/feature
Dominant language
Go
Stars
745
Forks
389
Avg merge
3d 20h
Merged PRs (30d)
3

Description

*Motivation*

The PR #313 supports the oauth2 auth plugin and I mock an oauth2 service for integration test. It is better to use a real oauth2 service to make an integration test.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing PR #313 and the OAuth2 plugin integration test that currently mocks the OAuth2 service. Identify how a real OAuth2 service can be used in that test and what setup or dependencies it requires. Done means the integration test exercises the real service rather than the mock and passes reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authentication, testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.