-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Identity Server is an API Project? #4
Comments
Sorry for the late response, I think it doesn't matter that your IdentityServer project is an API, you could still serve normal cshtml pages on it, and maybe setting the sign in path for your MVC client to that specific login path that you setup in your IdentityServer authority, that's the general way I'd go about solving this problem. |
Thank you, I found a solution by ClientCredentials for MVC client app |
Good news, do you think you can share some code about what you did here? |
Identity Server: API Project
MVC Client app AuthorizationFilter
User Controller > Login
API.Core
|
Hi HamidMosalla
In your project, you build identityServer with MVC Project, you can login, logout, redirect error and more.
In my example, i build identityServer is an API Project
When I start MVC Client (with authorize attribute) it's always call redirecturi from configuration and then call the next url: https://localhost:5000/account/login... but I want redirect to login screen from MVC Core (https://localhost:5001/User/Login)
Please help me!
The text was updated successfully, but these errors were encountered: