I am thinking of using 2-Factor Auth and as I was testing it, I had it send a code to my email and that entire process works well. But then I logged out and logged back in, had it send me another code, but the code was the exact same as the first time. I was expecting this code to be different.
Am I mistaken that this code should be different every time and only good for a one time use? I think it would be more secure if it is a 1-time use code.
In my Asp.net Core / Angular app I have a service that checks a few different things and if they meet a certain criteria I want to sign them out of the application as well as invalidate all access tokens. I saw in the SignInManager there is SignOutAsync. Does this sign them out entirely from the application as well as invalidate the tokens?
_signInManager.SignOutAsync();
I changed the email template and was wondering how I can test sending the email from debug. Is there away?
Is there an email confirmation expiration on the confirmation link that is sent out? If so is there a way to change it?
In mobile when I open the side menu and then click on one of the menu navigation links. The side menu doesn't close. The weird thing is I can see the X in the right corner move to the right when I click on a navigation link like the menu is closing. But the actual menu doesn't close. I also want to add that if you click off the side menu in the main area it does close just fine.
Has anyone had a similar issue?
I am trying to figure out how to change the applications spinner.
I found another post that lead me to find two files /node_modules/spin.js/spin.js and /node_modules/abp-web-resources/Abp/Framework/scripts/libs/abp.spin.js but still haven't figured out how to just swap out the animated loader or spinner. I still would like to use abps busy indicator. All I would like to do is change the animated spinner.
Any help would be greatly appreciated.
Where do I set the Token Session Timeout?
I would like to add this utility to the Angular app but having a hard time with it. <a class="postlink" href="http://keenthemes.com/metronic/preview/?page=components/utils/session-timeout&demo=default">http://keenthemes.com/metronic/preview/ ... mo=default</a>
I wanted to add this to the header.component.ts file
sessionTimeout() : void{
$.sessionTimeout({
title: 'Session Timeout Notification',
message: 'Your session is about to expire.',
keepAliveUrl: AppConsts.remoteServiceBaseUrl + 'KeepAlive',
logoutUrl: this.logout(),
warnAfter: 3000, //warn after 5 seconds
redirAfter: 35000, //redirect after 10 secons,
ignoreUserActivity: true,
countdownMessage: 'Redirecting in {timer} seconds.',
countdownBar: true
});
};
I also tried something like this private _$sessionTimeout: JQuery;
sessionTimeout() : void{
this._$sessionTimeout.sessionTimeout({
title: 'Session Timeout Notification',
message: 'Your session is about to expire.',
keepAliveUrl: AppConsts.remoteServiceBaseUrl + 'KeepAlive',
logoutUrl: this.logout(),
warnAfter: 3000, //warn after 5 seconds
redirAfter: 35000, //redirect after 10 secons,
ignoreUserActivity: true,
countdownMessage: 'Redirecting in {timer} seconds.',
countdownBar: true
});
};
I also added this "./assets/metronic/src/vendors/bootstrap-session-timeout/dist/bootstrap-session-timeout.js" to the .angular-cli.json file but the $.sessionTimeout() function cannot be found in the header.component.ts file.
This is the error I am getting. ERROR TypeError: Cannot read property 'sessionTimeout' of undefined at HeaderComponent.sessionTimeout (header.component.ts:304) at HeaderComponent.ngOnInit (header.component.ts:122) at checkAndUpdateDirectiveInline (core.js:12400) at checkAndUpdateNodeInline (core.js:13927) at checkAndUpdateNode (core.js:13870) at debugCheckAndUpdateNode (core.js:14763) at debugCheckDirectivesFn (core.js:14704) at Object.eval [as updateDirectives] (AppComponent.html:3) at Object.debugUpdateDirectives [as updateDirectives] (core.js:14689) at checkAndUpdateView (core.js:13836)
Can anyone help me with what I am doing wrong?
Since my app is a work app that we are in a Google GSuite account I am forcing my users to login through Google and I got rid of the login form and just have a Sign in with Google button. I am also only allowing users from our domain to login. Everything works great but I would like when a person comes to the login page it automatically logs them in instead of making them click the button. This would create a sort of SSO with all of our other Google apps.
I was wondering can I add an external link to the AppMenuItem?
Also how would I set a new entry point into the site? I do not want the dashboard or the notifications to be the entry point for non admins.
Thank you