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
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/login
by something like auth/login
, from my understanding the Account module from Abp relies on the account
route to redirect when the user is not logged in, in the end this is what I had to do, to overcome my requirenments
account/login
to show a custom component which is going to redirect to a SAML Login Appaccount/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?
Hello, I am using OpenIddict as Auth Server