Andrea Patricelli created SYNCOPE-1660:
------------------------------------------
Summary: Anonymous requests does not store domain and delegatedBy
information in the auth context
Key: SYNCOPE-1660
URL: https://issues.apache.org/jira/browse/SYNCOPE-1660
Project: Syncope
Issue Type: Bug
Components: core
Affects Versions: 2.1.10
Reporter: Andrea Patricelli
Fix For: 2.1.11, 3.0.0
# Define a new domain or take sample domain Two as reference
# Create an user under that domain
# Try to perform a requestPasswordReset, here is the call:
{code:java}
curl -X 'POST' \
'http://host:port/syncope/rest/users/self/requestPasswordReset?username=MRTFBI00A01H812S'
\
-H 'accept: */*' \
-H 'X-Syncope-Domain: ExUlss' \
-H 'Content-Type: */*' \
-d '' {code}
you'll get a "not found" error since domain is not tracked in the auth context.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)