authorjapps / authorjapps/zerocode

OAuth2 supported HttpClient in core module

Open
#193 4 comments 1 reaction 0 assignees View on GitHub
feature-request
Dominant language
Java
Stars
1k
Forks
453
Avg merge
7d 2h
Merged PRs (30d)
5

Description

# Background:
We have an OAuth2 in action #186 in the authorjapps/zerocode-hello-world#7 repo. But it can be made as part of the core module. Since the OAuth2 implementation was generic enough to support most of the providers it will benefit many people.

# AC1:
Follow this as reference or suggestion only(but check the latest IETF doc for standard impl):
https://github.com/authorjapps/zerocode/pull/676#pullrequestreview-2274484012
+ Internet Engineering Task Force (IETF) standard

# AC2:
+ Log (WARN level) the access_token details or log the response
+ Log (WARN level) client_id and client_secret by masking it (e.g. for "secret123", log `"s***3"`or `"***"` to avoid extra logic)

and

+ Log (INFO level) client_id and client_secret as it is(without any masking)

Contributor guide

Open the contributing guide

Research direction

Start by locating the core module's HttpClient entry point and review issue #186, the referenced pull-request review, and the latest IETF OAuth2 guidance. Done means generic OAuth2 provider support is incorporated and the specified WARN- and INFO-level credential and access-token logging behavior is addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, authentication, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.