hi
but when i am trying to integrate the Auth server of Microservices , i am not able to .
What problem do you get? Can you share the error logs if you have them?
hi
But the user logged in with a different password from IDP and our database had a different password, this scenario did not work for SSO.
You can disable password login on your website. The user can only log in with an external provider(IDP).
If you can get password from IDP then you can set it as your local user password.
However, generally, local users' passwords can be different from those of IDP users. For example, you can use a Google account to log in to a website and set a website password, which can be different from that of Google.
hi
So how can you assign a role without user information?
It is not possible. The UserManager/RoleManager needs the IdentityUser and IdentityRole.
we are try to add entry in abp user table only with email id then there some required fields which we have to insert password and all how we are going to insert information.
You can use the constant value for these properties.
In my computer:
var Icelandic = new CultureInfo("Icelandic");
Console.WriteLine(Icelandic.DisplayName);
Console.WriteLine("------------------");
var Iceland = new CultureInfo("Icelandic (Iceland)");
Console.WriteLine(Iceland.DisplayName);
Icelandic (Iceland) is an invalid culture identifier.
icelandic
------------------
Unhandled exception. System.Globalization.CultureNotFoundException: Culture is not supported. (Parameter 'name')
Icelandic (Iceland) is an invalid culture identifier.
at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)
at Program.<Main>$(String[] args) in /Users/maliming/RiderProjects/ConsoleApp5/ConsoleApp5/Program.cs:line 10
hi
create any api project, then initialize abp module, then add authentication there with identity server token you will get same issue over there
Can you share this test api project via https://wetransfer.com/ ?
liming.ma@volosoft.com
Thanks.
hi
You can try to replace the ConventionalRouteBuilder service
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/Conventions/ConventionalRouteBuilder.cs#L13
https://docs.abp.io/en/abp/latest/API/Auto-API-Controllers#version-3-x-style-route-calculation
hi
Do you mean localhost/api/users?skip-count=10&max-result-count=10?
hi
Thanks. I will check if this is possible.