Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Session token for theme app extension(customer login page)

Session token for theme app extension(customer login page)

spritle_support
Shopify Partner
4 0 0

Project objective:
As a newcomer to Shopify development, I'm currently tasked with implementing SMS login authentication for a Shopify store. I aim to replicate the functionality of the app found here: https://apps.shopify.com/simply-otp-login. I would greatly appreciate any suggestions or guidance on how to proceed with this endeavor.

Implemented:
Right now, Created the login page by using the theme app extension (App Block)

This was the store login page, which we created by using the Theme app extension.

image (38).png

Struggles:
Once the customer enter mobile number and click get OTP button, After success validation of OTP. Then need to create the session for login into the store.

Do I need to create a session for logged-in users?  How I need to create Authentication functionality for the store.

I can't find the documentation for session creation for theme app extensions(custom customer login page). Could you please help us with this?

Thank you.

Reply 1 (1)

Liam
Community Manager
3108 344 899

Have you looked into customer account extensions yet, to see if these would support your usecase? 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog