Signed-off-by: justin-slowik <justin.slowik@thermofisher.com>
This commit is contained in:
justin-slowik 2020-05-14 09:34:18 -04:00
parent 9882ea453f
commit f91f294385
2 changed files with 3 additions and 3 deletions

View file

@ -581,7 +581,7 @@ func validateRedirectURI(client storage.Client, redirectURI string) bool {
return false
}
if redirectURI == redirectURIOOB || redirectURI == deviceCallbackURI{
if redirectURI == redirectURIOOB || redirectURI == deviceCallbackURI {
return true
}

View file

@ -1316,9 +1316,9 @@ func TestOAuth2DeviceFlow(t *testing.T) {
//Add the Clients to the test server
client := storage.Client{
ID: clientID,
ID: clientID,
RedirectURIs: []string{deviceCallbackURI},
Public: true,
Public: true,
}
if err := s.storage.CreateClient(client); err != nil {
t.Fatalf("failed to create client: %v", err)