[MGNLRESTCL-92] OAuth2 Authentication Created: 31/Oct/19  Updated: 10/Jan/20  Resolved: 31/Dec/19

Status: Closed
Project: REST Client
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0

Type: Improvement Priority: Neutral
Reporter: Christopher Zimmermann Assignee: Dai Ha
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 40d 6.5h
Time Spent: 2d 7h
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLRESTCL-44 Securely configure authentication inf... Closed
causality
is causing MGNLRESTCL-120 DOC: BearerSecurityScheme may use expiry Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Release notes required:
Yes
Documentation update required:
Yes
Date of First Response:
Epic Link: Declarative REST clients
Sprint: Declarative REST 12, Declarative REST 13
Story Points: 5

 Description   

This is a followon to linked ticket MGNLRESTCL-44, and can perhaps leverage the work already implemented there. 

User Story

As a developer, I want to connect to REST endpoints which require OAuth2, so that I am able to connect to the endpoints that I need.

Acceptance Criteria:

  • Automatically request a new token whenever the active one expires.

Note:

Oauth2 is a common, modern, protocol required by many enterprise endpoints.

Such as:

 Working example for Amadeus exists; review against others.

 



 Comments   
Comment by Jorge Franco [ 02/Jan/20 ]

We added support to client credentials OAuth https://oauth.net/2/grant-types/client-credentials/. We don't support Oauth api's that require callback url's or any type of user confirmation.

 

Comment by Dai Ha [ 09/Jan/20 ]

Hey mdrapela,

Under the scope of this ticket, I have made this modification in rest client definition: securitySchemeName - securityScheme

Generated at Mon Feb 12 10:43:08 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.