Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fusionauth/fusionauth-example-go-device-code-grant
get-gif: An Example Golang CLI app using the FusionAuth Golang Client Library to provide Device Code OAuth
https://github.com/fusionauth/fusionauth-example-go-device-code-grant
example fusionauth go golang golang-cli oauth2 oauth2-device-code-flow
Last synced: 2 months ago
JSON representation
get-gif: An Example Golang CLI app using the FusionAuth Golang Client Library to provide Device Code OAuth
- Host: GitHub
- URL: https://github.com/fusionauth/fusionauth-example-go-device-code-grant
- Owner: FusionAuth
- License: apache-2.0
- Created: 2020-05-21T15:03:44.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-28T05:55:00.000Z (6 months ago)
- Last Synced: 2024-07-28T06:45:38.951Z (6 months ago)
- Topics: example, fusionauth, go, golang, golang-cli, oauth2, oauth2-device-code-flow
- Language: Go
- Homepage:
- Size: 52.7 KB
- Stars: 2
- Watchers: 13
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# getgif
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
## Credits
- [@Gowiem](https://github.com/Gowiem) / [@masterpointio](https://github.com/masterpointio) for the initial implementation and blog post!