Skip to content

Commit

Permalink
set domain of go-oauth2/oauth2 same as service URL
Browse files Browse the repository at this point in the history
  • Loading branch information
nbys authored and umputun committed Feb 10, 2022
1 parent c7d6348 commit 7f08fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ func initGoauth2Srv() *goauth2.Server {
err := clientStore.Set("cid", &models.Client{
ID: "cid",
Secret: "csecret",
Domain: "http://127.0.0.1:8080",
Domain: "http://localhost:8080",
})
if err != nil {
log.Printf("failed to set up a client store for go-oauth2/oauth2 server, %s", err)
Expand Down

0 comments on commit 7f08fab

Please sign in to comment.