to get a personalized navigation.
to get a personalized navigation.
Hello,
We are migrating from VNI to connect method. We have create new separate app in the visma.
Now when we are authenticating we are not getting proper permission while approving.
As well as we after approving app once request forwarded back to system, we try to generate token using authorization code. We are getting "invalid_tennat"
We are using below scopes:
openid email profile offline_access vismanet_erp_interactive_api:create vismanet_erp_interactive_api:delete vismanet_erp_interactive_api:read vismanet_erp_interactive_api:update
Hi,
The reason why you get this error is because you have to turn on the role 'API User' in Admin for the user(s):
Once this is done, we advise to try again after 10-15 minutes because sometimes it takes a while to process the new role.
Now we are able to authorize app. We got some other issue.
In VNI version, there is no company selection while authenticating. We fetch all companies using https://integration.visma.net/API/resources/v1/context API and select specific company and save their IPP company number at our system. Now this URL not accessible with new connect token.
Also In VNI we are sending "ipp-company-id" & "ipp-application-type" in the header, I think its not require in new connect mechanism because we are authenticating specific company.
Please clear understanding of flow.
Hi,
We advise you to go through this post:
Espcially this guide:
On page 15 we explain the differences of the VNI and Visma Connect (authorization) and explaining the flow. If there's anything unclear, please let us know.
Copyright © 2022 Visma.com. All rights reserved.