﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - Crosslight - How to Use Crosslight to Require User to Re-Login?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Require-User-to-Re-Login/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>How to Use Crosslight to Require User to Re-Login?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Require-User-to-Re-Login/</link><pubDate>Thu, 08 Oct 2015 07:21:54 GMT</pubDate><dc:creator>Arief</dc:creator><description>&lt;p&gt;Hi Jimmy,&lt;br&gt;&lt;br&gt;Sorry for the lack of news, the priority for CROS-858 actually low right now and maybe will be implemented with an update for Framework, i'm really suggest you to implement it yourself if you are urgently need it.&lt;br&gt;&lt;br&gt;For CROS-859 (Authorization Denied) actually it is already done, as you can see, we only fix the samples, because it was very case by case. In simpleCRM case it actually very fitting and relevant and also because we already do have the function to handle it.&lt;br&gt;&lt;br&gt;As you can see&amp;nbsp;&lt;a href="http://git.intersoftpt.com/projects/CROS/repos/samples/browse/SimpleCRM/SimpleCRM.Core/ViewModels/CustomerListViewModel.cs?at=refs%2Fheads%2Fbugfix%2FCROS-859"&gt;here is the implementation&lt;/a&gt;.&lt;br&gt;&lt;br&gt;You may ask why we put it in CustomerList only?&lt;br&gt;Here is the explanation: List is inherited&amp;nbsp;by a lot of Class that obtain data (Opportunity List, etc), if we put it in for example edit, it won't matter because user needs to navigate to list first before class.&lt;/p&gt;&lt;p&gt;Also, as I said before it is a case by case, sometimes there are pages that allowed and some that are authorization free.&lt;br&gt;&lt;br&gt;So I hope this will help your project!&lt;br&gt;&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Require User to Re-Login?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Require-User-to-Re-Login/</link><pubDate>Wed, 07 Oct 2015 15:29:05 GMT</pubDate><dc:creator>jtungol@silentpartnersoft.com</dc:creator><description>Any updates? Don't think this is available on v4.1</description></item><item><title>How to Use Crosslight to Require User to Re-Login?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Require-User-to-Re-Login/</link><pubDate>Fri, 04 Sep 2015 04:52:47 GMT</pubDate><dc:creator>yudi@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;CROS-858 and CROS-859 has been added to active sprint. The ETA of Crosslight 4 Update 1 is at the end of the month of September 2015.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;We'll keep you informed about the progress of CROS-893. Please stay tuned.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Require User to Re-Login?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Require-User-to-Re-Login/</link><pubDate>Mon, 31 Aug 2015 20:00:40 GMT</pubDate><dc:creator>jtungol@silentpartnersoft.com</dc:creator><description>Any updates?</description></item><item><title>How to Use Crosslight to Require User to Re-Login?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Require-User-to-Re-Login/</link><pubDate>Thu, 27 Aug 2015 07:23:38 GMT</pubDate><dc:creator>Arief</dc:creator><description>&lt;p&gt;Hi Jimmy,&lt;br&gt;&lt;br&gt;Very sorry for late responses, CROS-858 is planned for &amp;nbsp;september including with alternate table row maybe including with other Frameworks changes.&lt;br&gt;&lt;br&gt;CROS-859 is on progress and in the process of updating samples.&lt;br&gt;&lt;br&gt;Hope that'll helps!&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Require User to Re-Login?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Require-User-to-Re-Login/</link><pubDate>Fri, 21 Aug 2015 01:40:06 GMT</pubDate><dc:creator>Arief</dc:creator><description>&lt;p&gt;Hi Jimmy,&lt;br&gt;&lt;br&gt;I will ask our developer it should be on progresses right now!&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Require User to Re-Login?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Require-User-to-Re-Login/</link><pubDate>Tue, 18 Aug 2015 11:54:04 GMT</pubDate><dc:creator>jtungol@silentpartnersoft.com</dc:creator><description>Hi Arief,&lt;br&gt;&lt;br&gt;Any updates for these items yet? Thanks!&lt;br&gt;</description></item><item><title>How to Use Crosslight to Require User to Re-Login?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Require-User-to-Re-Login/</link><pubDate>Mon, 03 Aug 2015 02:04:59 GMT</pubDate><dc:creator>Arief</dc:creator><description>&lt;p&gt;Hi Jimmy,&lt;br&gt;&lt;br&gt;CROS-858 and CROS-859 already included in our July-August 2015 Sprint but i will update you if there are hotfix or updates.&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Require User to Re-Login?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Require-User-to-Re-Login/</link><pubDate>Fri, 31 Jul 2015 12:58:23 GMT</pubDate><dc:creator>jtungol@silentpartnersoft.com</dc:creator><description>Hello Arief,&lt;br&gt;&lt;br&gt;Any progress on CROS-858 and CROS-859?&lt;br&gt;</description></item><item><title>How to Use Crosslight to Require User to Re-Login?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Require-User-to-Re-Login/</link><pubDate>Tue, 30 Jun 2015 06:21:47 GMT</pubDate><dc:creator>Arief</dc:creator><description>&lt;p&gt;Hi Jimmy,&lt;br&gt;&lt;br&gt;After tested your scenario, i think you got a good point there.&lt;br&gt;I already inform this to engineer and we will update both of our AppFramework (issue #1 under CROS-858) and Samples (issue #2 under CROS-859) also thank you very much for your feedback, thats really valuable! :)&lt;br&gt;&lt;br&gt;Yep you can use EnsureSignIn() for issue #2 it will be navigate user to Login screen if their Account is null/logged off&amp;nbsp;but please note that after authorization denied, user actually&amp;nbsp;still logged in&amp;nbsp;so you should&amp;nbsp;add logged off&amp;nbsp;function before applying EnsureSignIn()&lt;br&gt;&lt;br&gt;Hope that answer your questions!&lt;br&gt;&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Require User to Re-Login?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Require-User-to-Re-Login/</link><pubDate>Thu, 25 Jun 2015 20:11:47 GMT</pubDate><dc:creator>jtungol@silentpartnersoft.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Is Crosslight Enterprise Framework supposedly designed to get the user to LoginView when this error "Authorization has been denied for this request." has been detected? We know for a fact that the user account is no longer valid to access resources from the server, because the username has been modified by another application with access to the same database.&lt;/p&gt;

&lt;p&gt;There is this code (see below), this is supposed to verify if a user account is still valid when the app starts. But this always returns true. Looking at the source code, it does always return true... is there a reason for you guys to do that? We are referring to the &lt;a href="http://git.intersoftpt.com/projects/CROS/repos/frameworks/browse/Intersoft.AppFramework/Users.Infrastructure/BasicWebApiAuthenticator.cs" target="_blank"&gt;BasicWebApiAuthenticator.cs&lt;/a&gt; from github.&lt;/p&gt;

&lt;pre&gt;var accountService = ServiceProvider.GetService&amp;lt;IAccountService&amp;gt;();

try
{
    await accountService.VerifyAsync();
}
&lt;/pre&gt;

&lt;p&gt;Furthermore, is there a built-in function that requires a user to re-login when the error mentioned above has been detected or if the account is no longer valid? Or do we need to implement this for every viewmodel with the use of the code snippet above? Cause that would be a tedious task when it can be incorporated with the enterprise view models from the AppFramework.&lt;/p&gt;

&lt;p&gt;Please advise. Thanks!&lt;br&gt;&lt;/p&gt;

</description></item></channel></rss>