code-examples-java
code-examples-java copied to clipboard
on trying to implement implicit code grant getting below error
on the screen i'm getting Oops, we have encountered a problem.
Message:
Dump:
Please check your account configuration. If you are unable to resolve the problem, open a new issue on GitHub.
and in network tab i'm getting :
Request URL: http://localhost:8080/ds/authenticate Request Method: POST Status Code: 403 Forbidden Remote Address: [::1]:8080 Referrer Policy: strict-origin-when-cross-origin Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.7 Accept-Encoding: gzip, deflate, br Accept-Language: en-US,en;q=0.9,hi;q=0.8 Cache-Control: max-age=0 Connection: keep-alive Content-Length: 18 Content-Type: application/x-www-form-urlencoded Cookie: JSESSIONID=880D8105962D3FB072F831CEC790D8E6 Host: localhost:8080 Origin: http://localhost:8080 Referer: http://localhost:8080/ds/mustAuthenticate Sec-Ch-Ua: "Not_A Brand";v="8", "Chromium";v="120", "Microsoft Edge";v="120" Sec-Ch-Ua-Mobile: ?0 Sec-Ch-Ua-Platform: "Windows" Sec-Fetch-Dest: document Sec-Fetch-Mode: navigate Sec-Fetch-Site: same-origin Sec-Fetch-User: ?1 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0
The Java Quickstart launcher is designed to use only JWT or ACG, not Implicit Grant
The Implicit grant can only be used by SPA, which is not part of the launcher code. Authentication paths
If you are not sure how to implement the Implicit grant from SPA, please open a support case through the support center or follow the Implicit Authentication guide