Skip to content

Simple Golang application to verify domain ownership when creating a tailnet on Tailscale using a custom OIDC identity provider

Notifications You must be signed in to change notification settings

tijjjy/Tailscale-CustomOIDC-Webfinger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Tailscale-OICD-Webfinger

Small Go program to setup domain validation for Tailscale custom OCID using a webfinger

Certbot Request a Certificate

Install certbot

Ubuntu

apt install -y certbot

RHEL

yum install -y certbot

Request a certificate

certbot certonly -d mydomain.com

Save the location of the certificate and private key for use in the program.

Instructions

Replace this line with your TLS cert and key

cert, err := tls.LoadX509KeyPair("TLS CERT HERE", "TLS CERT KEY HERE")

Replace this line with your email that is attached to your OCID provider account

"subject" : "acct:youremail@example.com",

Replace this line with your OCID issuer url

"href" : "OCID ISSUER URL HERE"

Commands

go mod tidy
go run main.go

About

Simple Golang application to verify domain ownership when creating a tailnet on Tailscale using a custom OIDC identity provider

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages