Last post Nov 29, 2017 07:53 AM by Fei Han - MSFT
Nov 28, 2017 07:39 AM|priyalwalpita|LINK
I am using the Identity server 4 ( with .Net core 2.0 ) and all the clients are working perfectly and can retrieve the access_token. In my MVC client, i am using following command to retrieve the access_token.
var accessToken = await this.HttpContext.GetTokenAsync("access_token");
But for a functional requirement , I need to get this access_token inside my Identity server itself. The same code returns null when I'm trying to use it inside my Identity server's code.
It would be great if someone can help me on this.
Nov 29, 2017 07:53 AM|Fei Han - MSFT|LINK
need to get this access_token inside my Identity server itself
Identity server authorizes User and returns Access Tokens for client applications to access protected resources, usually we retrieve
access_token in client application, can you clarify more about why you want to get
access_token inside Identity server?