adobe / adobe/aio-lib-java

`ims` Service `getAccessToken` Should hide exceptions

Open
#198 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
7
Forks
22
PR merge metrics
No merged PRs in 30d

Description

### Expected Behaviour

When an exception occurs in the fetching of a new Access token, the IMS Service should capture any possible Feign runtime exceptions and either:

a) log it, returning nothing.
b) Transform it the exception into a meaningful, recoverable or non-recoverable state.

### Actual Behaviour

All of the Feign runtime exceptions bubble up to the caller.

Contributor guide

Open the contributing guide

Research direction

Start at the IMS Service getAccessToken flow described in the issue and inspect how Feign runtime exceptions reach its caller. Confirm the intended handling with the issue's two proposed outcomes; done means fetching-token failures no longer bubble directly and are either logged with no return value or represented as a meaningful recoverable or non-recoverable state.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.