This issue has been created
 
 
Trusted authentication framework / cid:jira-generated-image-avatar-5ea10b6b-504a-4990-a3c2-4cf45e6a499b TRUSTAUTH-27 Open

Cannot retrieve profile when auth/adapter returns an empty value (non null)

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-7f683fe7-9f05-4078-8917-546518126d96 Hitesh P created this issue on 03/Jul/24 12:31
 
Summary: Cannot retrieve profile when auth/adapter returns an empty value (non null)
Issue Type: cid:jira-generated-image-avatar-5ea10b6b-504a-4990-a3c2-4cf45e6a499b Bug
Assignee: Unassigned
Created: 03/Jul/24 12:31
Priority: cid:jira-generated-image-static-major-000927e6-26cd-4a07-a0bf-16ee78a3fc2b Major
Reporter: Hitesh P
Description:
  • Sometimes adapters can send in a blank String (not null) when there is no valid session/auth
  • Such as Shibboleth when `ShibUseHeaders On` (for HTTP headers)
  • HTTP header auth adapter sends the value as is
  • Regardless of auth system or auth adapter, this is best handled at the API framework end

Here is the associated PR:

https://github.com/xwiki-contrib/xwiki-authenticator-trusted/pull/5