shopware login not work so what is actual issuse? - shopware

I have setup shopware on a localhost server.
I have created a customer for login but when try to login with created customer no change in the page. It means only the login and register page show, Redirect to other pages are not working.
If I can try to open profile page or addresses page, page not opens only show login or register.
So What is the problem?? Additional setting required for login?
In the Top navigation account tab Login name show.

https://github.com/shopware/shopware/blob/5.4/engine/Shopware/Configs/Default.php#L207
You should check if this fits your server configuration and database or change it via config.php. Login issues are often caused by timezone differences between php and database.

Related

Unable to modify Hybris B2B Login Page via smartedit

We had a requirement to add create custom components and slots in login page for a B2B portal.
But currently we are facing two issues in it.
-If I try to add any component to the slots created in login page.I am unable to add the components in the newly created slots from smartedit. But if the same is added through impexes it works fine. Is there any restriction for login page slots in Hybris B2B accelerators due to secureportaladdon ?
-Also another issue that we face currently is, while editing the login page via smartedit while changing from draft to ready to sync mode ,the smartedit page is redirected to storefront url with the error refused to connect.
This issue is not encountered in case the user Is logged in and access any page.
-Also we have observed page level sync is not working in case of login page but it works fine for other pages.
Any reference or pointers to the above issue would be of great help.
We are currently using Hybris 2011 version in ccv2 environment. We have seperate instances for storefront,backoffice,hac and smartedit.
1st Issue can be addressed by writing UserAccessRightImpex.
$START_USERRIGHTS
Type;UID;MemberOfGroups;Password;Target;read;change;create;remove;change_perm
UserGroup;cmsmanagergroup;cockpitgroup,employeegroup;;;;;;;
;;;;CustomLeftComponent;+;+;+;+;+;
;;;;CustomRightComponent;+;+;+;+;+;
;;;;CustomMiddleComponent;+;+;+;+;+;
;;;;CustomCMSProductSectionsContainer;+;+;+;+;+;
;;;;CUstomCMSProductSectionTabComponent;+;+;+;+;+;
$END_USERRIGHTS
In above Impex please check which usergroup is applicable for smartedit login.
User--> can have multiple usergroups

Kentico - Password Protect Content

I have some set of documents and want to password protect them with one set of userid/password for each group of users. It's like this:
All users in group 1 can access domain.com/survey1/ with userid1/password1
All users in group 2 can access domain.com/survey2/ with userid2/password2
etc....
Outside of Kentico, I can go to the webhosting control panel and apply password to any folders.
With Kentico (global admin privilege, no backend/server access) I'm not sure if this is possible and if yes, how to do it. Thanks for your input.
Note: I've tried creating a custom login page using the Logon Form webpart; set the destination URL for the Logon Form to a landing page that lists links to the docs; then added the mentioned docs as subpages; added new user (userid1/password1) through Users app and also under Properties/Security. But this didn't work as expected.
Michelle, basically you want a group of user share a single username/password combination, right? Which is basically a "group" of people all use a single "user" account in CMS.
So first you setup user account like user1/pw1, user2/pw2.
Then in you content tree, go to /survey1 > Properties > Security > set it to requirement authentication. Then add user1 to have READ permission. Do the same for other folders.
Then in a different browser session which you are not logged in, try to hit yoursite.com/survey1, it should redirect you to a login page, once you login with user1/pw1, it should route you back to /survey1.
If you have created your own login page like /mylogin.aspx, then go to Settings application > Settings > Security & Membership > Content > Website logon page URL, and add that ~/mylogin.aspx there, so when visitor is prompt for login, it will be that page.

Log user into Kentico Admin site based on HttpHeader value from Siteminder

My company has just obtained Kentico for some new applications. These applications will be going into production in about 2 weeks, so we are still fairly new with this. What we have are three ASP.NET MVC applications/sites that format and present content that is stored in Kentico. Additionally, we have specific users who will log into the Kentico9/Admin site to manage the content displayed by the MVC apps.
From a corporate standpoint, we also have Siteminder SSO enabled. When a user navigates to our Kentico9/Admin site, they are first authenticated by our corporate Siteminder SSO form using their corporate user id. When they are successfully authenticated, Siteminder redirects the user to the Kentico9/Admin site they originally requested and the user is presented with the standard Kentico login form. If the user has already logged in through Siteminder during another session, they only get presented with the Kentico login form. Otherwise, if this is their first time logging in, the user is required to login twice (once through Siteminder and again through Kentico).
What I want to do is bypass the standard Kentico login form and use the Siteminder information to Authorize the user to log them into the Kentico admin site. Siteminder adds the username and some other information to the HTTP request headers. Using C#, I can retrieve their corporate user id using the following: System.Web.HttpContext.Current.Request.Headers.Get("SM_USERID").
So, in a nutshell, I want to override Kentico's standard login form and write some code that will get the user id from the HTTP request header and authorize the user by looking up their userid in Kentico. If the user id is not found or is not active, present the user with the standard Kentico login form. Otherwise, if the user is a valid and active user, pull their user record and allow them to access Kentico.
I have found some tidbits of information and given enough time, I may be able to figure something out, but I am hoping someone has done something similar and can speed up my process. Any ideas on what I can do? I will also entertain anything that might have tighter integration with Siteminder, although it doesn't seem Kentico can handle Siteminder out of the box, but I am not sure about that.
Sounds like you might be able to create a custom webpart which you will place on a page and simply have Siteminder redirect the user to the page with that webpart on it and look for those header values on page load. If it finds them, perform your actions within Kentico to look that user up and authenticate them in Kentico as needed. If there are no header values or it can't find the Kentico info, simply send them to the regular login page.
You could also create a global event handler but that would require someone to click a button or such on your site after they have entered credentials.

SharePoint 2013 user profile service change homepage

I have a sharepoint 2013 farm that start and configure and sync user profile service on it successfully. now when each user browse site homepage first time, it shows a white page with 2 link that is go to site and change attribute, how could I disable this page?
I saw the same error when one of a user profile properties wasn't set. In my case the user's location wasn't set. If the user goes to edit user their profile and save it without any changes, it fixes the issue. In my case, only few users were affected by this issue. You can write script to update missing property for all the users.

SharePoint caches incorrect credentials

Every morning when i fire up my VM and IE (in my host OS) and go to my SP site it always logs me on automatically as DOMAIN\george which is a user I created for testing permissions.
So every morning after that I click "sign in as a different user" to sign in as my sys admin user instead and most days that is the only user I use. Any idea why george's credentials are being cached?
Part of "firing up my VM" is running a script that starts IIS as well as some services. I'm not entirely sure SharePoint is responsible for this, could very well be ASP.Net.
EDIT: I've already tried clearing my cookies.
Had a very similar problem! To solve it, go to 'User Accounts' under the Windows Control panel.
Navigate to 'Manage your network passwords'. Select the domain you wish to clear and select 'Remove'.
You should now have a clean login dialogue box and when you check the 'remember me' box, this will be stored as the login default for that domain.
I was able to remove the test login credentials using the User Account control panel applet in Windows 7
Open the Manage Credentials link.
Find the Sharepoint Login in the Windows Vault.
Expand the address for the site
Remove the test login for this site.
After doing this I am no longer prompted for the login and login as different user prompt.
Have you checked that there are no logins and passwords being stored by the browser? Assuming you are using IE, see this article on how to clear them.
If DOMAIN\george is same user ID you are logging in to the VM ? If that is the case try changing the Setting in IE that dictates what user name is send to the Server. Just go to Tools - > Settings - > Security and Click on Custom Level, scroll down to bottom and you will find User Authentication option Select the Prompt for User name and Password.
It could also be that you are using IE8, that caches my credentials as well it seems.
IE8 stores credentials for favourites it seems, don't ask me why. What you should do is log in as the needed user, then save a new favourite (or add it to the favourites bar by dragging it). Then use that link to go to your site.

Resources