Auth0 Home Blog Docs

Rename auth param `client_id` to `appid` in url

Is it possible to rename auth param client_id in generated social connections to appid?

We’re trying to integrate Wechat to Auth0 by using Custom Social Connection extension. But there is a issue with the wechat auth url generated, the url generated by auth0 is:

https://open.weixin.qq.com/connect/oauth2/authorize?response_type=code&redirect_uri=REDIRECT_URI&scope=SCOPE&state=STATE&client_id=CLIENT_ID

but the url required by wechat is:

https://open.weixin.qq.com/connect/oauth2/authorize?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=SCOPE&state=STATE#wechat_redirect

the difference is that wechat is using name appid for client_id.

My question is that is it possible to rename the client_id to appid in generated auth url? or any way to bypass this incompatibility.

Thanks in advance.

Unfortunately it’s not possible. QQ should follow the OIDC standard, as per https://openid.net/specs/openid-connect-core-1_0.html (search for client_id in that page)

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.