@enjoylifethemost123 The problem you are experiencing is likely to be with the configuration at the SwissID end, although you should check the configuration you have in Auth0 for Token URL
Is be set to: https://login.int.swissid.ch:443/idp/oauth2/access_token
. Contact SwissID and confirm the following with their team:
1: The redirect URI they have for your configuration is set as https:///login/callback, (i.e. the same as the redirect_uri
parameter shown in the URL that’s part of the SwissID “400 Technical error”.
2: Confirm that they have set the configuration at their end to use client secret in the body of POST requests to their access token endpoint (i.e. https://login.int.swissid.ch:443/idp/oauth2/access_token
). If you mention to them that you are using Auth0 they should know what needs to be done.
Hope that helps 