What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi All, i will be setting up new spryker environment and added new customer. I will be getting authe

U02445UB631
U02445UB631 Posts: 37 πŸ§‘πŸ»β€πŸš€ - Cadet

Hi All, i will be setting up new spryker environment and added new customer. I will be getting authentication failed whenever tried to login. I have activated the customer and reset the passwords without any issues. please help us.

Comments

  • U01LKKBK97T
    U01LKKBK97T Posts: 287 πŸ§‘πŸ»β€πŸš€ - Cadet

    If it is a company user, its company needs to be activated, too.

  • U01LKKBK97T
    U01LKKBK97T Posts: 287 πŸ§‘πŸ»β€πŸš€ - Cadet

    You might also want to check if the new user needs to opt in after registration. If so, a mail containing an opt-in link should have been sent. In your local env, you can check mails at http://mail.spryker.local.

  • U01LKKBK97T
    U01LKKBK97T Posts: 287 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited June 2021

    But as you mentioned, the customer is activated already, so missing opt-in shouldn't be an issue.

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,051 βš–οΈ - Guardians (admin)

    For the b2b-demoshop every customer needs to have a company user assigned to it as Kay already mentioned. this company user needs to be active as well. see also: https://github.com/spryker-shop/b2b-demo-shop/blob/master/src/Pyz/Zed/CompanyUser/[…]er/IsEnabledCustomerCompanyUserPluginTransferExpanderPlugin.php

  • U02445UB631
    U02445UB631 Posts: 37 πŸ§‘πŸ»β€πŸš€ - Cadet

    Checking. my customer says unverified. but the company user is activated status.

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,051 βš–οΈ - Guardians (admin)

    Column β€œregistered” has a value and the column β€œregistration_key” is null?

  • U01LKKBK97T
    U01LKKBK97T Posts: 287 πŸ§‘πŸ»β€πŸš€ - Cadet

    I think that registration_key is populated only for as long as the customer hasn't opted in.

  • U02445UB631
    U02445UB631 Posts: 37 πŸ§‘πŸ»β€πŸš€ - Cadet

    Registered was null

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,051 βš–οΈ - Guardians (admin)

    Try to put 2021-06-30 into registerd and set registration_key to NULL - does this help?

  • U02445UB631
    U02445UB631 Posts: 37 πŸ§‘πŸ»β€πŸš€ - Cadet

    Just set the registered value and logged in. it successful.

  • U02445UB631
    U02445UB631 Posts: 37 πŸ§‘πŸ»β€πŸš€ - Cadet

    adding the date in registered column made the customer verified.

  • U02445UB631
    U02445UB631 Posts: 37 πŸ§‘πŸ»β€πŸš€ - Cadet

    so application allowed it to login

  • U01LKKBK97T
    U01LKKBK97T Posts: 287 πŸ§‘πŸ»β€πŸš€ - Cadet

    Then you were missing opt-in, I suppose.

  • U02445UB631
    U02445UB631 Posts: 37 πŸ§‘πŸ»β€πŸš€ - Cadet

    Thanks @U01LKKBK97T @florian.scholz for the help.

  • U02445UB631
    U02445UB631 Posts: 37 πŸ§‘πŸ»β€πŸš€ - Cadet

    could be @U01LKKBK97T. It was registered a week before.

  • U01LKKBK97T
    U01LKKBK97T Posts: 287 πŸ§‘πŸ»β€πŸš€ - Cadet

    If you're not sure, Zed might let you resend the opt-in mail.