-
Notifications
You must be signed in to change notification settings - Fork 218
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
Decouple Web lib from UI #1452
Decouple Web lib from UI #1452
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @Ponant
Great improvement!
@@ -92,7 +92,7 @@ public Task OnRemoteFailure(RemoteFailureContext context) | |||
{ | |||
_errorAccessor.SetMessage(context.HttpContext, message); | |||
|
|||
context.Response.Redirect($"{context.Request.PathBase}/MicrosoftIdentity/Account/Error"); | |||
context.Response.Redirect($"{context.Request.PathBase}{Options.ErrorPath}"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same thing.
@@ -133,5 +134,19 @@ internal bool HasClientCredentials | |||
/// See https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/how-to-manage-ua-identity-portal. | |||
/// </summary> | |||
public string? UserAssignedManagedIdentityClientId { get; set; } | |||
|
|||
/// <summary> | |||
/// Sets the ResetPassword route path. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Sets the ResetPassword route path. | |
/// ResetPassword path within the application's base path. |
(proposing to remove the 'Sets' as it's set/get. Adding precision on what the path is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are welcome @jmprieur.
Which lives in the Web library. So I believe it will be great to find a way to have |
For |
Co-authored-by: Jean-Marc Prieur <jmprieur@microsoft.com>
@jennyf19 , done |
Co-authored-by: Jean-Marc Prieur <jmprieur@microsoft.com>
@Ponant can you remove the Microsoft.Identity.Web.xml file from the PR? I'll then merge to another branch so i can pull it locally and test. |
@jennyf19 , is it OK now? |
sorry, i meant just not push it up, so there is no conflict. sorry about the confusion. i'll resolve it. |
@jennyf19 , I can look into that when I have time, just give it some time. How is this url triggered? I guess I need a blazor wasm to invoke this api, but at which stage? Obvisouly, I did not dig into that but I can look at it during weekends, I do not expect it to be difficult. |
Fixes #1034