[EXTDAM-80] Sort out Bynder token problems Created: 25/Feb/20  Updated: 06/Mar/20  Resolved: 02/Mar/20

Status: Closed
Project: External DAMs
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Bug Priority: Neutral
Reporter: Ilgun Ilgun Assignee: Yen Lac Tue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 2d 7.5h
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by EXTDAM-86 Show minor problem for caching config... Closed
dependency
is depended upon by EXTDAM-71 Bynder & S3. Fix caching when changin... 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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Documentation update required:
Yes
Date of First Response:
Epic Link: DAMs backend
Sprint: Add-Ons 32
Story Points: 0.5

 Description   

AC

  • Rename permanantToken to use only password manager paths
  • Path to permanentToken is not taken into consideration when path changes in YAML
    • info.magnolia.external.dam.bynder.BynderCredentialProvider#getCurrentToken does some kind of weird logic but return currentToken in the end


 Comments   
Comment by Yen Lac Tue [ 05/Mar/20 ]

How Bynder permanentToken in config.yaml works:

  1. permanentToken value is a PATH to Passwords Manager: /bynder-credentials/bynder_permanent_token:

             a. Service will go to this path and get value from bynder_permanent_token to create connection to Bynder

             b. If cannot find token value, accessing Bynder Assets will show exception

      2. permanentToken value is token: e89236be7b67096d5ed55f4aec2e14e144ed27ae60a4eeb7e3dab81858192a8b. Service will use this value to create connection to Bynder

      3. permanentToken value is null: accessing Bynder Assets it will show exception

Comment by Julie Legendre [ 05/Mar/20 ]

Thanks yen.lactue for the information here. I will use it when I work on EXTDAM-10.

Comment by Yen Lac Tue [ 05/Mar/20 ]

You're welcome jlegendre. Please let me know if you need more information

Generated at Mon Feb 12 01:51:42 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.