com.auth0.IdentityVerificationException: An error occurred while exchanging the Authorization Code for Auth0 Tokens

若如初见. 提交于 2020-08-11 03:16:23

问题


I am trying to implement auth0 in a very basic spring-boot-application based on maven. This is the error that I get:

com.auth0.IdentityVerificationException: An error occurred while exchanging the Authorization Code for Auth0 Tokens

When running the original tutorial-project everything works fine. The error occurs only in my custom application. Basically I copied all the files from the tutorial-project into my application. Nevertheless I run into this error...

further down the exception I see a

com.auth0.exception.APIException: Request failed with status code 401: Unauthorized


回答1:


Solved it:

The client-secret was wrong. Actually there is a space at the end of my client-secret, which I accidentally removed. Wow.



来源:https://stackoverflow.com/questions/58435835/com-auth0-identityverificationexception-an-error-occurred-while-exchanging-the

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!