-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Thanks for the great tool . I appreciate the automatic endpoint configuration using .well-known/. We could further improve usability by adding a provider option e.g. oauth2c --provider microsoft or --provider google . Provider would load the endpoint configuration from Endpoint defintions found in the go module https://pkg.go.dev/golang.org/x/oauth2#section-directories .
Moreover , it would be a great contributor opportunity to add the full gamut of oauth providers .
If there's interest, I'm happy to start the initial PR
Example Run
Perform oauth code-based authentication using microsoft
> oauth2c --provider microsoft --client-id xxxx-xxxx --client-secret yyyyyy.yyy --scopes ...
List Available Providers
> oauth2c --provider-list
Oauth2c provides endpoint configuration for the following providers:
facebook
google
instagram
microsoft
github
gitlab
fitbit
foursquare
heroku
hipchat
jira
kakao
linkedin
mailchimp
mailru
mediamath
nokiahealth
odnoklassniki
paypal
slack
spotify
stackoverflow
twitch
uber
vk
yahoo
yandex
pataquets