Activities of "bradm"

I've followed https://github.com/abpframework/abp-samples/tree/master/MAUI-OpenId for a MAUI app and I'm having trouble with api calls being authenticated after logging in. I can log in fine and I get an access token. I can also see a tenant id in the claims. But any requests to the api that need authentication give me an unauthorized error. In the OidcClient options I have to put LoadProfile = false or I get an error contacting userinfo endpoint. Could this be related to my issue? I've tried both using the dynamic proxies that are generated and the AccessTokenHttpMessageHandler to make http requests and I get the same results for both. Calling methods that don't have an Authorize attribute work fine, calls to methods with an Authorize attribute don't work. What is the proper way to add tenantid to the HttpRequestMessage. I tried request.Headers.Add("Tenant", tenantId); The dynamic proxies are supposed to handle the access token and tenantid. What might I be missing for my api to not know that I'm authenticated and have a tenant? I know this isn't a user issue because all the calls work in the web application for this user. Having trouble getting it to work with MAUI. Thank you for your help. Volo.Abp 5.3

Question

We're using Volo.Abp 5.3 Is there an example of logging in within a Xamarin.Forms application?

Showing 1 to 2 of 2 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11