[OPENAM-6553] Fix Social Authentication in subrealms Created: 10/Aug/15 Updated: 20/Nov/16 Resolved: 16/Nov/15 |
|
Status: | Resolved |
Project: | OpenAM |
Component/s: | oauth2 |
Affects Version/s: | 12.0.0, 12.0.1 |
Fix Version/s: | 12.0.3, 13.0.0 |
Type: | Bug | Priority: | Critical |
Reporter: | Bas Steen | Assignee: | Peter Major [X] (Inactive) |
Resolution: | Fixed | Votes: | 0 |
Labels: | EDISON, release-notes | ||
Remaining Estimate: | 0h | ||
Time Spent: | 7h | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||||||||||||||
Sprint: | AM Sustaining Sprint 14 | ||||||||||||||||
Support Ticket IDs: |
Description |
Social Authentication is broken in OpenAM 12.01. Steps to reproduce: |
Comments |
Comment by Peter Major [X] (Inactive) [ 04/Nov/15 ] |
Setting up social authn in a subrealm is what really triggers this bug. If the XUI login page is accessed using the #login/subrealm format, then the resulting REST calls will have URIs like /json/subrealm/authenticate, which will mean that the "hack" for XUI in OAuth: if (requestedURI.contains("/json/authenticate")) { requestedURI = requestedURI.replace("/json/authenticate", ""); } will not work. This bug is not specific to 12.0.1, 12.0.0 should behave the same way in a subrealm with XUI enabled. |