Activities of "BernardoTeixeira"

  • ABP Framework version: v3.3.1
  • DB provider: EF Core
  • **Identity Server Seperated

I want to login in Identity server and then make request in Host server. Problems I'm having cookies AspNetCore.Antiforgery and AbpAuthorization.

I capture the login request by Fiddler and try to make other request in Host using the same cookies

The response to that is

[11:13:04 INF] Authorization failed. [11:13:04 WRN] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "Authorization failed! Given policy has not granted.", "details": null, "data": null, "validationErrors": null } [11:13:04 WRN] Authorization failed! Given policy has not granted. Volo.Abp.Authorization.AbpAuthorizationException: Authorization failed! Given policy has not granted.

How can I solve my problem??

Hi, how can I get the token?

I have the same problem

One more question, if abp has the endpoint for login with cookies why another endpoint to get more cookies?

Question
  • ABP Framework version: v3.3.1
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): yes

I'm trying to do a power bi application with Oauth2. But every time my application receive the token, it crash.

I register the client Powerbi in the [IdentityServerClients] table with the redirect_uri = "https://oauth.powerbi.com/views/oauthredirect.html". Identity logs

Answer

the crash ->

Identity logs ->

I sent an old print, this is what I'm using for the Authorization ->

The code I have is similar to this one -> https://github.com/microsoft/DataConnectors/tree/master/samples/Github

Answer

what you mean "plain Identity Server"?

Answer

One more thing, every response from odataControllers I dont get the normal response.

The response I get now

The Controller

The Edm Model

The OnApplicationInitialization in Host dll

The normal response

how can I get the odata.context?

Answer

Hi, sure.

the Github link -> deleted

Answer

I just follow this Demo(https://github.com/realLiangshiwei/AbpOdataDemo), but I dont have the same result

Answer

Hi, when I added that code -> Configure<MvcOptions>(options =>

swagger can't identify the endpoints for odata.

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