An Example Golang CLI app using the FusionAuth Golang Client Library to provide Device Code OAuth.
- Set up your FusionAuth application.
- Update
.env
with the needed values go build
getgif
If you want to logout of your browser, go to http://localhost:9011/logout
You can read the tutorial here: https://fusionauth.io/blog/2020/06/17/building-cli-app-with-device-grant-and-golang
- @Gowiem / @masterpointio for the initial implementation and blog post!