You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe the problem.
My code was using the functions setRememberMe and removeRememberMe, which were removed in this PR.
I needed these functions because my app uses a password authentication flow and requires custom parameters for login. The login function only accepts LoginParams as a parameter, which doesn't allow for custom parameters.
Instead of the login function, I had to use loginUsingGrant, but this function does not account for the "remember me" feature. Previously, I relied on the setRememberMe and removeRememberMe functions to handle this, but now I can't because they have been removed.
Describe the solution you'd like
I would like to be able to use the remember-me service so I can implement the "remember me" function. However, it seems that this module is not exported because when I try to use it, I get the following error:
import { RememberMeService } from '@abp/ng.oauth/lib/services/remember-me.service';
Error: Module not found: Error: Package path ./lib/services/remember-me.service is not exported from package
Additional context
Looking at the remeber me service, I can manually set the local storage, but if ABP modifies how it handles this functionality, my code might break. I'm open to suggestions if there's another way to achieve this.
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
My code was using the functions setRememberMe and removeRememberMe, which were removed in this PR.
I needed these functions because my app uses a password authentication flow and requires custom parameters for login. The login function only accepts LoginParams as a parameter, which doesn't allow for custom parameters.
Instead of the login function, I had to use loginUsingGrant, but this function does not account for the "remember me" feature. Previously, I relied on the setRememberMe and removeRememberMe functions to handle this, but now I can't because they have been removed.
Describe the solution you'd like
I would like to be able to use the remember-me service so I can implement the "remember me" function. However, it seems that this module is not exported because when I try to use it, I get the following error:
Additional context
Looking at the remeber me service, I can manually set the local storage, but if ABP modifies how it handles this functionality, my code might break. I'm open to suggestions if there's another way to achieve this.
The text was updated successfully, but these errors were encountered: