Hi.
I'm not able to login with my admin user anymore. I deleted my database and all my migration files to have a clean solution before I published to Azure. Now I'm not able to login to my development app or Azure app with admin user. Something is failing in LoginAsync.
9 Answer(s)
-
0
From log file: INFO 2018-01-08 22:50:52,268 [3 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET <a class="postlink" href="http://localhost:22742/AbpUserConfiguration/GetAll">http://localhost:22742/AbpUserConfiguration/GetAll</a> application/json DEBUG 2018-01-08 22:50:52,272 [3 ] IdentityServer4.CorsPolicyProvider - CORS request made for path: /AbpUserConfiguration/GetAll from origin: <a class="postlink" href="http://localhost:4200">http://localhost:4200</a> but rejected because invalid CORS path DEBUG 2018-01-08 22:50:52,272 [3 ] n.Cookies.CookieAuthenticationMiddleware - AuthenticationScheme: Identity.Application was not authenticated. DEBUG 2018-01-08 22:50:52,272 [3 ] IdentityServer4.Hosting.EndpointRouter - No endpoint entry found for request path: /AbpUserConfiguration/GetAll INFO 2018-01-08 22:50:52,274 [3 ] entication.JwtBearer.JwtBearerMiddleware - Bearer was not authenticated. Failure message: No SecurityTokenValidator available for token: null WARN 2018-01-08 22:50:52,275 [3 ] n.IdentityServerAuthenticationMiddleware - No validator configured for reference token. Ensure ApiName and ApiSecret have been configured to use introspection. INFO 2018-01-08 22:50:52,275 [3 ] frastructure.NopAuthenticationMiddleware - Bearer was not authenticated. Failure message: No token found.
My angularApp does not redirect to the login page anymore either. When I start opp it just showing a blank page.
-
0
looks like a CORS problem!
CORS request made for path: /AbpUserConfiguration/GetAll from origin: <a class="postlink" href="http://localhost:4200">http://localhost:4200</a> but rejected because invalid CORS path
-
0
<cite>alper: </cite> looks like a CORS problem!
CORS request made for path: /AbpUserConfiguration/GetAll from origin: <a class="postlink" href="http://localhost:4200">http://localhost:4200</a> but rejected because invalid CORS path
Yes, it looks like a CORS problem. But I can't find invalid path settings in the config files. I don't know how to solve this :(