Activities of "dfzamora"

Hello, I have applied the change and this works:

Even thought, in my case I do not want to use backend login, I'd like to use the frontend side login instead, since I have customized some stuff in the frontend side, is this possible? If I remove responseType: 'code' it turns into frontend login

This is frontend login

This is backend login

The goal is to be able to have a URL to login (then the URL should redirect to azure login) and another URL to login using user and password (this is only for admins)

Hello, Based on your replies, definitely there is no way to change account/login URL, for now, I will go with my solution, since the complement replacement doesn't fit my requirement, thanks for the support, I will close the ticket.

In summary what I was looking for is to change the default url (in the frontend project) account/loginby something like auth/login, from my understanding the Account module from Abp relies on the accountroute to redirect when the user is not logged in, in the end this is what I had to do, to overcome my requirenments

  1. Overrided the route account/login to show a custom component which is going to redirect to a SAML Login App
  2. Loaded account module (this is the default line that comes with the project)
  3. Loaded account module under the route account/admin to allow the admin the ability to login using the default login (the one with openId)

This is correctly working, but I am concerned about the double load of Account module, is there another way to do the same?

Hello I was able to generate the token, I had to include the expire date, not a null value, thanks for the support, however the issue is now on angular side,

When I try to validate the token with OAuthService.hasValidAccessToken() it returns false, as far as I can see AuthGuard of abp is using that method internally, for that reason the routes are not active and I am not able to login even with the token

I am not sure about the real issue since I have tested the token in ThunderClient and the API responds correctly to it.

hi

Are you calling your app service method from the authserver website?

Because this options set by auth server website

Hello, I moved the code to the right project, now I am able to generate the token, however when I try to use that token in my API calls the response is Unauthorized, am I missing something else?

I have followed the example you posted, even though I have an error and it seems like I am not getting the right values from IOptionsMonitor<OpenIddictServerOptions>

I am not sure if this error is because of a missing configuration on my side.

Hello, I am using OpenIddict as Auth Server

Showing 1 to 7 of 7 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13