The Identity serve that I'm using is based on Cookie authorization.
When I call authorize method (so authorize endpoint) on my server the authorization code flow is performed as expected and access token and refresh token are returned correctly, but not the AspNetIdentity cookie needed (together withe the Access Token) to access API resource on the server.
Issue
The Identity serve that I'm using is based on Cookie authorization. When I call
authorize
method (so authorize endpoint) on my server the authorization code flow is performed as expected and access token and refresh token are returned correctly, but not the AspNetIdentity cookie needed (together withe the Access Token) to access API resource on the server.This is my server-side Client configuration:
On react-native (client-side), this is my configuration:
The response of
authorize
method is fine and fully populated BUT how can I retrieve the AspNetIdentity cookie that I need to perform requests?Is it that possible?
P.S. I've already tried with
react-native-cookies
library without any success.Environment
IdentityServer 4, Duende IdentityServer, .NET Core 6
both
react-native
Version:0.64.4
react-native-app-auth
Version:^8.0.0