[MGNLSSO-52] Add an option to use the baseUrl to build the callbackUrl Created: 31/Mar/21  Updated: 01/Jun/21  Resolved: 18/May/21

Status: Closed
Project: Single Sign On
Component/s: None
Affects Version/s: 1.1
Fix Version/s: 1.1.1

Type: Improvement Priority: Neutral
Reporter: Adrien Manzoni Assignee: Maxime Michel
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[X]  Architecture Decision Record (ADR)

 Description   

The SSO callback URL is part of the OIDC yaml definition which prevent us from deploying the same yaml config for Author and Publics.

It would be great to have some options to compute automatically the callbackUrl based on the baseUrl property.

The baseUrl property being stored in JCR, we have more possibility to script its value via the standard Magnolia bootstrapping system

Implementation

The IAM instance requires an absolute callbackUrl. Either let the user configure that (as is done currently), or:

  1. allow a relative URL
  2. which will be turned into an absoluteUrl using the defaultBaseUrl

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