[
https://issues.apache.org/jira/browse/SYNCOPE-1660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrea Patricelli updated SYNCOPE-1660:
---------------------------------------
Description:
# 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=myusername'
\
-H 'accept: */*' \
-H 'X-Syncope-Domain: Two' \
-H 'Content-Type: */*' \
-d '' {code}
you'll get a "not found" error since domain is not tracked in the auth context.
was:
# 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=myusername'
\
-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.
> 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
> Assignee: Francesco Chicchiriccò
> Priority: Major
> 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=myusername'
> \
> -H 'accept: */*' \
> -H 'X-Syncope-Domain: Two' \
> -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)