My Products
Help
Azadeh1
CONTRIBUTOR **

Visma Returns 404 on when redirecting to callback url

by Azadeh1 (Updated ‎06-07-2021 10:19 by Azadeh1 )

Hi Community!

For some reason, after authentication with the Oauth2 workflow, I get a 404 error. What could be the cause of this?

 
 

No webpage was found for the web address: https://signin.visma.net/oauthwebapp/api/www.domain.se/connect?code=**********************&state=***...

 

Does anyone have any idea why this occurs?

4 REPLIES 4
Azadeh1
CONTRIBUTOR **

by Azadeh1

Hello Yildirim,

Thanks for your response. 
Yes, I(The client) was able to enter the credentials and log in as shown in your images.

So I followed the normal OAuth2 flow in the docs when integrating. And it actually works, I know this because if I take the latter part of the URL for example: www.domain.se/connect?code=**********************&state=***... and put it in the browser, my oauth2 workflow completes. I'm able to get the token, using the code in the URL.

I'll send an email as suggested. Do let me know if there's anymore I need to do.

Azadeh1
CONTRIBUTOR **

by Azadeh1

Thanks Yildirim, all is well now.

Accepted solution
Yıldırım
VISMA

by Yıldırım

Hello Azadeh, 

 

Your redirect URI has been updated to https://www.vismanet.automatiseramera.se/accounts/visma/login/callback

Yıldırım
VISMA

by Yıldırım (Updated ‎06-07-2021 16:03 by Yıldırım VISMA )

Hello Azadeh, 

Were you (client) able to enter credentials for the authentication or login page has been skipped without allowing the client enter its credentials ? (Due to cookies)

2021-07-06 15_46_01-Window.png

Otherwise, there might be something wrong with your registered Redirect_URI.

could you please briefly explain the steps you've followed and send your API Client ID to VNI-Support@visma.com including developersupport@visma.com in the CC ? 

Thanks.