Skip to content

Warning about Sessions?? #1084

@resistorsoftware

Description

@resistorsoftware

Shopify App v 21.3.1, and Shopify API v12.3

In my console I see this when running my App:

[ ShopifyAPI | WARN ] The use of SessionStorage in the API library has been deprecated. The ShopifyAPI will no longer have responsibility for session persistence. Upgrading to `shopify_app` 21.3 will allow you to remove session_storage from the API library Context configuration.

So does that mean in the App initializer, we get rid of session storage?

Like delete this line?

ShopifyAPI::Context.setup(
   ====>   session_storage: ShopifyApp::SessionRepository, 

Is that what we're talking about?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions