SharePoint Automatic Signin issueshttps://gitlab.lsonline.fr/CodePlex/spautomaticsignin/-/issues2018-05-03T14:33:40Zhttps://gitlab.lsonline.fr/CodePlex/spautomaticsignin/-/issues/9Client tooling2018-05-03T14:33:40ZLaurent SittlerClient toolingWhen we configured both windows and claims authentication we could not sign in to SharePoint from a client application like Word or Excel.
When we opend Word and want to save the document to SharePoint we get the login page of the claim provider. When we login to the claim provider we get a access denied message of SharePoint. Using the browser it all worked well.
After some investegation we found that the class autosignin inherits from Page. We have changed the inheritance to 'IdentityModelSignInPageBase'. This solved our problem with client tooling
[BAM.SP2013.AutoSignIn.rar](/uploads/212915263edf66e54dead2dfcf7f4ee7/BAM.SP2013.AutoSignIn.rar)When we configured both windows and claims authentication we could not sign in to SharePoint from a client application like Word or Excel.
When we opend Word and want to save the document to SharePoint we get the login page of the claim provider. When we login to the claim provider we get a access denied message of SharePoint. Using the browser it all worked well.
After some investegation we found that the class autosignin inherits from Page. We have changed the inheritance to 'IdentityModelSignInPageBase'. This solved our problem with client tooling
[BAM.SP2013.AutoSignIn.rar](/uploads/212915263edf66e54dead2dfcf7f4ee7/BAM.SP2013.AutoSignIn.rar)https://gitlab.lsonline.fr/CodePlex/spautomaticsignin/-/issues/8Default site mapping does not work2018-04-25T21:07:57ZLaurent SittlerDefault site mapping does not workAccording to the documentation, the default site mapping is entered like this:
```
To set the default login page (the page that will be used if no IP match) use default as key value:
$config.SingInPageMappings.Add("default","<path>")
$config.Update()
```
This is not working, something is appending an additional "_login/" to the URL and external users are being redirected to https://sharepoint.website.com/_login/_login/default.aspx. I have tried various combinations of mappings "default.aspx, /default.aspx, ./default.aspx) and then external users just get a page can not be displayed error.According to the documentation, the default site mapping is entered like this:
```
To set the default login page (the page that will be used if no IP match) use default as key value:
$config.SingInPageMappings.Add("default","<path>")
$config.Update()
```
This is not working, something is appending an additional "_login/" to the URL and external users are being redirected to https://sharepoint.website.com/_login/_login/default.aspx. I have tried various combinations of mappings "default.aspx, /default.aspx, ./default.aspx) and then external users just get a page can not be displayed error.https://gitlab.lsonline.fr/CodePlex/spautomaticsignin/-/issues/7blank site /_login/autosignin.aspx?ReturnUrl=%2f_layouts%2fAuthenticate.aspx%...2018-04-25T21:06:18ZLaurent Sittlerblank site /_login/autosignin.aspx?ReturnUrl=%2f_layouts%2fAuthenticate.aspx%3fSource%3d%252FSeiten%252Fdefault%252Easpx&Source=%2FSeiten%2Fdefault%2EaspxThe Windows Authentication redirect works not. It shows as below:
Without logging anyting..
![orbiteone](/uploads/4654ea7d14315aac2a97b86c5c056743/orbiteone.png)The Windows Authentication redirect works not. It shows as below:
Without logging anyting..
![orbiteone](/uploads/4654ea7d14315aac2a97b86c5c056743/orbiteone.png)https://gitlab.lsonline.fr/CodePlex/spautomaticsignin/-/issues/6Autosingin.aspx page returns 404 error2018-04-25T21:04:11ZLaurent SittlerAutosingin.aspx page returns 404 errorUsers are not transparently redirected to the propper login page and instead there is a 404 error.
Also, the documentation says to specify a custom login page using "_login/autosignin.aspx" but i believe the "_login/" portion needs to be omitted.Users are not transparently redirected to the propper login page and instead there is a 404 error.
Also, the documentation says to specify a custom login page using "_login/autosignin.aspx" but i believe the "_login/" portion needs to be omitted.https://gitlab.lsonline.fr/CodePlex/spautomaticsignin/-/issues/5ClaimsSignInAdmin Not Installed Error2018-04-25T21:03:02ZLaurent SittlerClaimsSignInAdmin Not Installed ErrorHi, While I try to Activate the solution I got the error...
The Windows PowerShell snap-in 'ClaimsSignInAdmin' is not installed on this machine.
I work around for this but I am unable to get solution, Same is working on another machine.
Thanks in AdvanceHi, While I try to Activate the solution I got the error...
The Windows PowerShell snap-in 'ClaimsSignInAdmin' is not installed on this machine.
I work around for this but I am unable to get solution, Same is working on another machine.
Thanks in Advancehttps://gitlab.lsonline.fr/CodePlex/spautomaticsignin/-/issues/4Not working for ipv6 addresses2018-04-25T21:01:58ZLaurent SittlerNot working for ipv6 addressesI downloaded the latest source code and deployed. This code is not working for IPv6 addresses. Is there a way that we can make this one working for IPv6 addresses.
I looked at the source code and this looking for only IPv4 addresses.
Thanks,I downloaded the latest source code and deployed. This code is not working for IPv6 addresses. Is there a way that we can make this one working for IPv6 addresses.
I looked at the source code and this looking for only IPv4 addresses.
Thanks,https://gitlab.lsonline.fr/CodePlex/spautomaticsignin/-/issues/3Keynotfoundexception2018-04-25T21:00:44ZLaurent SittlerKeynotfoundexceptionHi,
I am unable to get to the signin page itself after deploying the solution and doing required configuration.
It throws keynotfoundexception.
I am using windows and ADFS authentication in default zone and my site is SSL site.
Please find screenshot attached of the error.
Waiting for response.
![keynotfound](/uploads/3dad34619170db59dcf81561cb58db3b/keynotfound.PNG)Hi,
I am unable to get to the signin page itself after deploying the solution and doing required configuration.
It throws keynotfoundexception.
I am using windows and ADFS authentication in default zone and my site is SSL site.
Please find screenshot attached of the error.
Waiting for response.
![keynotfound](/uploads/3dad34619170db59dcf81561cb58db3b/keynotfound.PNG)https://gitlab.lsonline.fr/CodePlex/spautomaticsignin/-/issues/2Transparent Login not working2018-04-25T20:57:25ZLaurent SittlerTransparent Login not workingAfter following all the deployment steps, the transparent login serves the forms based authentication in Intranet zone. Is there a way we can track the IP or any other mechanism to verify whether it is configured correctly.After following all the deployment steps, the transparent login serves the forms based authentication in Intranet zone. Is there a way we can track the IP or any other mechanism to verify whether it is configured correctly.https://gitlab.lsonline.fr/CodePlex/spautomaticsignin/-/issues/1Access Denied after implementing the solution2018-04-25T20:55:19ZLaurent SittlerAccess Denied after implementing the solutionMy steps to reproduce:
- Installing the solution
- Register the cmdlet
- changing the login page via CA
I browsed to our environment and couldn't login
=> Did an IISRESET, closed and reopend my browser with no luck
=> revert the loginpage back to the default (access denied not solved)
=> uninstall solution (access denied not solved).
after a while when I reinstalled the solution and configured the ip ranges i'll get the following error in the eventviewer:
The strange thing is that after a second attempt to choose for the default login page, I was been able to login back into the site (okay, via the old way)
```
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 31/08/2010 10:44:39
Event time (UTC): 31/08/2010 8:44:39
Event ID: 0dc11755fcc248d885e5db74785f5b7a
Event sequence: 59
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1036207141/ROOT-1-129277177904787389
Trust level: WSS_Minimal
Application Virtual Path: /
Application Path: C:\\inetpub\\wwwroot\\wss\\VirtualDirectories\\7300\\
Machine name: SRV-SP-01
Process information:
Process ID: 10204
Process name: w3wp.exe
Account name: DOMAIN\\*****
Exception information:
Exception type: KeyNotFoundException
Exception message: The given key was not present in the dictionary.
Request information:
Request URL: http://sharepoint/_login/autosignin.aspx?ReturnUrl=An unhandled exception has occurred.f_layoutsAn unhandled exception has occurred.fAuthenticate.aspx31/08/2010 10:44:39fSource31/08/2010 10:44:39d%252F&Source=%2F
Request path: /_login/autosignin.aspx
User host address: 10.0.0.91
User:
Is authenticated: False
Authentication Type:
Thread account name: DOMAIN\\*****
Thread information:
Thread ID: 9
Thread account name: DOMAIN\\*****
Is impersonating: False
Stack trace: at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at OrbitOne.SharePoint.Claims.SignIn.AutoSignin.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
```My steps to reproduce:
- Installing the solution
- Register the cmdlet
- changing the login page via CA
I browsed to our environment and couldn't login
=> Did an IISRESET, closed and reopend my browser with no luck
=> revert the loginpage back to the default (access denied not solved)
=> uninstall solution (access denied not solved).
after a while when I reinstalled the solution and configured the ip ranges i'll get the following error in the eventviewer:
The strange thing is that after a second attempt to choose for the default login page, I was been able to login back into the site (okay, via the old way)
```
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 31/08/2010 10:44:39
Event time (UTC): 31/08/2010 8:44:39
Event ID: 0dc11755fcc248d885e5db74785f5b7a
Event sequence: 59
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1036207141/ROOT-1-129277177904787389
Trust level: WSS_Minimal
Application Virtual Path: /
Application Path: C:\\inetpub\\wwwroot\\wss\\VirtualDirectories\\7300\\
Machine name: SRV-SP-01
Process information:
Process ID: 10204
Process name: w3wp.exe
Account name: DOMAIN\\*****
Exception information:
Exception type: KeyNotFoundException
Exception message: The given key was not present in the dictionary.
Request information:
Request URL: http://sharepoint/_login/autosignin.aspx?ReturnUrl=An unhandled exception has occurred.f_layoutsAn unhandled exception has occurred.fAuthenticate.aspx31/08/2010 10:44:39fSource31/08/2010 10:44:39d%252F&Source=%2F
Request path: /_login/autosignin.aspx
User host address: 10.0.0.91
User:
Is authenticated: False
Authentication Type:
Thread account name: DOMAIN\\*****
Thread information:
Thread ID: 9
Thread account name: DOMAIN\\*****
Is impersonating: False
Stack trace: at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at OrbitOne.SharePoint.Claims.SignIn.AutoSignin.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
```