You can fix it by removing http// or https:// like this one "WebSiteRootAddress": "{TENANCY_NAME}.yourdomain.com"
Thanks for your answer. I've got CGI issue when find tenant by domain by TenantManager. Do you have any idea about this?
Which is file I can put Configuration.MultiTenancy.Resolver?
Hi,
I added new property called "Domain" to Tenant entity and updated TenantIdAccessor to find tenant by domain, but you've removed this class in version 3.1.0. Where can I put my changes to find tenant by domain?
I tried this and it works :)
var tokenString = "XXX";
var hubConnection = new HubConnection("http://localhost:62114/");
hubConnection.Headers.Add("Authorization", "Bearer "+tokenString );
Yes, I passed the token via headers. Thanks for supporting.
To sign-in to our mobile app, user must sign-in by their facebook and provide phone number if not existed. We use facebook account kit to verify entered phone number, how should we update verified phone number after user verified? Should we call UpdateCurrentUserProfile method to update phone number?
Hi,
Firstly, I created a simple signal R hub then I built a console client hub connection successfully connect to that hub without any authentication. E.g: static void Main(string[] args) { var querystringData = new Dictionary<string, string>(); querystringData.Add("foo", "bar"); var hubConnection = new HubConnection("http://localhost:62114/", querystringData); IHubProxy stockTickerHubProxy = hubConnection.CreateHubProxy("MySampleHub"); stockTickerHubProxy.On<string>("messageRecieved", str => { Console.WriteLine("New Message: \n" + str); }); ServicePointManager.DefaultConnectionLimit = 100; hubConnection.Start(new LongPollingTransport()).GetAwaiter(); Console.ReadKey(); }
I need all clients connect to my hub must be authenticated then I set GlobalHost.HubPipeline.RequireAuthentication() in Web.Mvc project - Startup.cs file. The console client now can't receive message from server hub, by how I can have my console client authenticated :( ?
Any help would be appreciated. Thanks
Hi,
Thanks for your answer.
How system detect tenant who make the request? I think method GetTenancyNameOrNull cannot get tenantId in AbpSession.
I want to make my native mobile app (Xamarin) can login by facebook, is there any sample code or how can I do it?