to get a personalized navigation.
to get a personalized navigation.
I read the PDF, in which it states the resource Owner has to approve the application request before the code and state will be sent to redirect URL.
Solved! Go to Solution.
Following the procedure from this article helped me understand the OAuth 2.0 authentication: https://community.visma.com/t5/Knowledge-base-in-Developers/Generating-token-with-oAuth2-for-Visma-N...
As for your questions:
1. The authorization is initiated by the client, perhaps caused by clicking on a link or following a redirect response from your application. The main point is: There is no reason for your application to "actively wait" for the OAuth 2.0 response with the grant code. Instead you provide a POST endpoint as redirect URI that acts on incoming requests.
2. Yes, the tokens are only set to expire when you replace them. So you could just obtain a token once, and use it forever if you like.
Thank you both!
It's clear now
Hi,
Please read this article:
Here we go through these questions, provide a code example for oAuth 2.0 in C# as well as provide other information that is beneficial for you to get started.
Please let us know if there is anything else you wonder about after having a look at this.
Thank you.
Copyright © 2022 Visma.com. All rights reserved.