Authenticate from the Command Line with Java
Tutorial: Build a Java application with JBang that uses the OAuth 2.0 Device Grant and log in with a code.
![](https://developer.okta.com/assets-jekyll/blog/java-cli-device-grant/oauth-java-cli-social-fc5c378a254790db066743892a0f482ed433231c5a4108c5b0636741379b746c.jpg)
Tutorial: Build a Java application with JBang that uses the OAuth 2.0 Device Grant and log in with a code.