I am trying to implement the code grant flow with PKCE. The client ID I have is configured to use PKCE. The URL accessed: https://connect.visma.com/connect/authorize?response_type=code&client_id=isv_xxxx&redirect_uri=https%3a%2f%2fclientredirect.invantive.com&scope=offline_access+openid+email+profile+vismanet_erp_interactive_api%3aread+vismanet_erp_interactive_api%3acreate+vismanet_erp_interactive_api%3aupdate+vismanet_erp_interactive_api%3adelete&state=e3921cd26e004becbe128f6dcad0e7f8&code_challenge=4TV6tLurTb6XW9Mz%2fhuuq%2fRczOv72io6MBAY81fupMg%3d&code_challenge_method=S256 The URL return contains the code: https://redirecturi/?code=xxxxxxxx&scope=profile%20email%20openid%20vismanet_erp_interactive_api%3Aupdate%20vismanet_erp_interactive_api%3Adelete%20vismanet_erp_interactive_api%3Acreate%20vismanet_erp_interactive_api%3Aread%20offline_access&state=e3921cd26e004becbe128f6dcad0e7f8&session_state=zx3gsePRn9gC6uE1QR5KaiG5li-srtDoy4h8PzF_xfQ.554AF07F0EF621597236E09AE707EC55&iss=https%3A%2F%2Fconnect.visma.com When exchanging the code for an access token returns a HTTP 400 with the body: ``` {"error":"invalid_grant"} ``` The request contains the `grant_type=authorization_code`, including the `code`, `client_id`, redirect_uri` and `code_verifier` as per the specification (https://docs.connect.visma.com/docs/native-applications). There is no error code returned, so no way to see more information on the reason of the error. What can be the cause of this issue?
... View more