I want to pass some additional parameter to the identity provider through Auth0. In my scenario the identity provider is controlled by me, added through Custom Social Connections extension.
It is noted in the docs that social login (/authorize) have an
additional-parameter parameter which we can use to pass extra parameters to our identity provider. However I am not able to get this working.
For example when I hit:
https://skedulo.au.auth0.com/authorize?client_id=[some client id]&response_type=id_token token&redirect_uri=[some redir url]&connection=MyCustomConnection&sso=true&nonce=[random nounce]&state=1dvl1U5rf~veR47RJ-ZVJSMRI.Kn479B&audience=[my API]&scope=openid&redirect_url=https://localhost:8888&auth0Client=eyJuYW1lIjoibG9jay5qcyIsInZlcnNpb24iOiIxMC4xNC4wIiwibGliX3ZlcnNpb24iOiI4LjUuMCJ9&additional-parameter=asdf=asdf
(^ btw there seem to be some redundant parameters above (like redirect_uri vs redirect_url. This is the url generated by Auth0 lock)
It correctly redirects to my specified identity provider page that i’ve setup in my custom connections extension. However, the additional-parameter is no where to be found:
I tried a few variations like url-encoding the value for additional-parameter, but to no avail.
For the record, my client is set to OIDC compliant.
Am I missing something? All I need is to be able to pass some custom information from the frontend to my identity provider, such that it can perform some special actions depending on the values passed.