We would like to be able to do the following:
- Create an authentication Tree that would produce an anonymous session and return the token for that session in a cookie. This tree would look similar to the tree shown at here.
- Allow the user to send that anonymous cookie in subsequent calls to the login process.
- Login as a user other than anonymous
- Have a new session created and the cookie value updated for the new user login.
Currently this process results in a 401 - Unauthorized.
When we use an anonymous Chain in step 1, all of the other steps work without resulting in a 401. It seems to only be when we use an anonymous tree. We would like to be able to use an anonymous tree.
Note: Session upgrade from auth tree which includes "Anonymous User Mapping" node is not supported at the moment.