ShopifySharp icon indicating copy to clipboard operation
ShopifySharp copied to clipboard

Request access token for custom apps created using Dev Dashboard from 2026

Open Fashionepaul opened this issue 1 month ago • 3 comments

Can you please add a option to request a access token for custom apps created using the new Dev Dashboard? https://shopify.dev/docs/apps/build/authentication-authorization/access-tokens/client-credentials-grant

I have tried using the ShopifyOauthUtility.AuthorizeAsync, but it requires a code.

https://help.shopify.com/en/manual/apps/app-types/custom-apps

Starting from January 1, 2026, you can't create any more legacy custom apps. To create and manage new apps, you need to use the Dev Dashboard. This change doesn't impact any of your existing custom apps.

See related community post here

Fashionepaul avatar Nov 10 '25 12:11 Fashionepaul

Hey @Fashionepaul! Thanks for asking about this. I was about to say that ShopifySharp already supports this, as you can just use the token you're given when creating a custom app anywhere that ShopifySharp asks for an access token – but I see now from your link that there is indeed a new way to authorize custom apps as well.

I'm definitely interested in adding this! I don't have a concrete time estimate, but once #1224 is finished and merged I'll make it my priority. In the meantime, if you are able to generate an access token manually, you can pass it to ShopifySharp anywhere it asks for an access token and it should work as expected.

nozzlegear avatar Nov 10 '25 20:11 nozzlegear

Hi @nozzlegear ,

Appreciate you will look at this when you can. As we will need to generate apps using the new Dev Dashboard from Jan 1, do you envisage you might be able to get to this before then?

TimSirmovics avatar Nov 19 '25 04:11 TimSirmovics

Yes I can confirm that, if you call the endpoint as described here with clientid and api secret you receive an access token: https://shopify.dev/docs/apps/build/authentication-authorization/access-tokens/authorization-code-grant#step-4-get-an-access-token

Also the api secret to retrieve the access token, is also the secret that is used to sign webhook payloads.

Would be great if this new workflow would be supported by shopifysharp.

alex254 avatar Nov 28 '25 12:11 alex254