All Projects → mschwager → duo_go

mschwager / duo_go

Licence: Apache-2.0 license
An implementation of the Duo Security Web SDK in Go/Golang.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to duo go

ucsf-vpn
Linux command-line client to manage a UCSF VPN connection
Stars: ✭ 30 (+150%)
Mutual labels:  2fa, duo
tfa
tfa is a 2fa cli tool that aims to help you to generate 2fa code on CI/CD pipelines.
Stars: ✭ 25 (+108.33%)
Mutual labels:  2fa
aws-missing-tools
Random tools I've written to make life easier using AWS, namely aws-choose-profile and aws-mfa-login
Stars: ✭ 46 (+283.33%)
Mutual labels:  2fa
mobileid
Mobile ID Sample Scripts
Stars: ✭ 13 (+8.33%)
Mutual labels:  2fa
recovery
Create recovery/backup codes for 2FA
Stars: ✭ 72 (+500%)
Mutual labels:  2fa
openconnect-gui-menu-bar
OpenConnect Menu Bar - Connect/Disconnect/Status - for Mac OS X (supports Duo push/sms/phone, or Yubikey, Google Authenticator, Duo, or any TOTP)
Stars: ✭ 56 (+366.67%)
Mutual labels:  duo
privacy-for-the-paranoid
A master checklist for securing your online life.
Stars: ✭ 48 (+300%)
Mutual labels:  2fa
kagi
WebAuthn security keys and TOTP multi-factor authentication for Django
Stars: ✭ 17 (+41.67%)
Mutual labels:  2fa
authy-extractor
Extract 2FA tokens from Authy.
Stars: ✭ 30 (+150%)
Mutual labels:  2fa
gofwd
A cross-platform TCP port forwarder with Duo 2FA and Geo-IP integration
Stars: ✭ 26 (+116.67%)
Mutual labels:  duo
2fa-notifier
2FA Notifier is a web extension that notifies users whether or not the sites they visit support two factor authentication (2FA).
Stars: ✭ 39 (+225%)
Mutual labels:  2fa
otp
One Time Password for 2-Factor-Authentication implemented in Rust
Stars: ✭ 21 (+75%)
Mutual labels:  2fa
rci
🔢 better code inputs for react/web
Stars: ✭ 805 (+6608.33%)
Mutual labels:  2fa
authorizer
Your data, your control. Fully open source, authentication and authorization. No lock-ins. Deployment in Railway in 120 seconds || Spin a docker image as a micro-service in your infra. Built in login page and Admin panel out of the box.
Stars: ✭ 770 (+6316.67%)
Mutual labels:  2fa
authentication-service
Authentication microservice. The integration only requires redirects and JWT tokens
Stars: ✭ 19 (+58.33%)
Mutual labels:  2fa
cookbook
VueJS + NodeJS Evergreen Cookbook
Stars: ✭ 440 (+3566.67%)
Mutual labels:  2fa
node-identif
🔑 Helper class to verify one's identity via personal channels(SMS, Phone, E-Mail and more!)
Stars: ✭ 27 (+125%)
Mutual labels:  2fa
Wristkey
A free and open-source offline authenticator app for Wear OS.
Stars: ✭ 65 (+441.67%)
Mutual labels:  2fa
framework
A stylish PHP application framework crafted using Slim, Twig, Eloquent and Sentinel designed to get you from clone to production in a matter of minutes.
Stars: ✭ 56 (+366.67%)
Mutual labels:  2fa
shibboleth-mfa-u2f-auth
U2F multifactor authentication plugin for Shibboleth IdPv3
Stars: ✭ 25 (+108.33%)
Mutual labels:  2fa

Overview

Build Status Coverage Status Go Report Card Pkg.Go.Dev Module Version

duo_go - Duo 2FA for Go web applications: https://duo.com/docs/duoweb

Installing

$ go get github.com/mschwager/duo_go

Using

Here's a short snippet of code demonstrating the library:

package main

import (
    "fmt"
    "github.com/mschwager/duo_go"
)

func main() {
    duo_configuration := &duo_go.Web{
        Ikey: "<ikey-here>",
        Skey: "<skey-here>",
        Akey: "<akey-here>",
    }
    sig_request, _ := duo_go.SignRequest(duo_configuration, "example_username")

    fmt.Println("Signature request: " + sig_request)
}
$ go run example.go
Signature request: TX|ZXh...|5ce...:APP|ZXh...|fc2...

For a more complete example, checkout the demo code.

Demo

Configure your ikey, skey, akey, and host, in duo_go_demo.go.

Then run the following command:

$ go run duo_go_demo/duo_go_demo.go

Testing

$ go test
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].