Skip to content

Commit

Permalink
added redirect uris to web clients
Browse files Browse the repository at this point in the history
  • Loading branch information
FominykhDG authored and FominykhDG committed Dec 27, 2024
1 parent b36a8e2 commit 67a303a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ func main() {

storage.RegisterClients(
storage.NativeClient("native", cfg.RedirectURI...),
storage.WebClient("web", "secret"),
storage.WebClient("api", "secret"),
storage.WebClient("web", "secret", cfg.RedirectURI...),
storage.WebClient("api", "secret", cfg.RedirectURI...),
)

// the OpenIDProvider interface needs a Storage interface handling various checks and state manipulations
Expand Down

0 comments on commit 67a303a

Please sign in to comment.