Issues with Generating Authorization code and User Token using Apache OAuth client 2.0 library in Java

前端 未结 3 1796
难免孤独
难免孤独 2021-01-27 14:09

I trying to Automate the User Level Token Creation/Generation process (REST/Authorization Grant Code) using Apache OAuth Client 2.0 Library in Java. And below is the Code that a

3条回答
  •  粉色の甜心
    2021-01-27 14:42

    I have used this authentication code method. I got this error while making the auth code

    > location->[] 
    [ERROR] 2018-10-12 14:16:59.414 [http-nio-8080-exec-3]
    > [dispatcherServlet] - Servlet.service() for servlet
    > [dispatcherServlet] in context with path [] threw exception [Request
    > processing failed; nested exception is
    > java.lang.ArrayIndexOutOfBoundsException: 0] with root cause
    > java.lang.ArrayIndexOutOfBoundsException: 0
    

提交回复
热议问题