Focuses on API authentication, access scopes, and permission management.
Hi,
I want to add authentication in my app with session tokens as per shopify requirement, but unable to find a single source to implement session tokens functionality in my codeigniter app. Is there someone who created shopify embeded app using codeigniter and also implements the authentication process with session tokens?
If yes kindly provide some sample code or give idea how we can implement this.
Session tokens are JSON Web Tokens that Shopify generates and are used to authenticate requests between your app and Shopify's API, so you may need a a JWT library to handle JWT operations. Here's a general overview of how you could implement Auth in CodeIgniter:
client_id
, scopes
, redirect_uri
, etc.).Hope this helps!
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
Thankyou for your reply,
I have some more doubts, how we handle this on frontend (view) using app bridge and also can you please elaborate Handle OAuth Callback, like after OAuth Redirect , it will redirected to generate access token function so when and how this exchange the code works like how i can request session token. All the functions are set i have to only embed this session token functionality so where i have to add and what endpoints have to use. Please give a detail.