mozey / httprouter-util

Example of using httprouter and other useful packages
2 stars 0 forks source link

Auth with go-oauth2 #7

Closed mozey closed 1 year ago

mozey commented 1 year ago

Auth with go-oauth2, using default store BuntDB: "Both Bolt and Bunt are ACID, and both persist data to disk. The biggest difference between them is that Bolt reads and writes from disk, while Bunt reads and writes from memory (and has an append-only file for durability)"

See OAuth2 explained with cute shapes, create examples as per this article

mozey commented 1 year ago

See this closed issue swaggo/swag: Add support for OAuth configuration

mozey commented 1 year ago

Implement in https://github.com/mozey/httprouter-example/pull/9

mozey commented 1 year ago

Not using OAuth, consider something simpler like go-passwordless