SenseNet / sn-client-dotnet

A .Net client for sensenet that makes it easy to use the REST API of the Content Repository.
https://www.sensenet.com/
GNU General Public License v2.0
7 stars 16 forks source link

Get server context with custom token #70

Closed tusmester closed 1 year ago

tusmester commented 1 year ago

This story is part of an effort to make the following scenario simpler: the .Net client is used on a backend Asp.Net server to make server-to-server calls to a separate repository service.

The current server factory API assumes we always authenticate with the repository using configured (admin) clientid/secret values. There is a new scenario we need to support: when the user logs in on the client and makes a request to the custom backend API, and we need to make backend calls to a sensenet repository service from there in the name of the currently authenticated user.

Acceptance