Skip to content

Commit

Permalink
feat: add redirect URI-s ENV setting to web clients (#693)
Browse files Browse the repository at this point in the history
Co-authored-by: FominykhDG <[email protected]>
  • Loading branch information
d1nch8g and FominykhDG authored Jan 3, 2025
1 parent 8d971dc commit a0f67c0
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 a0f67c0

Please sign in to comment.