Use 202 for token polling endpoint instead of 204 (#1103)
This commit is contained in:
1 parent
71673ea161
commit
90b30bad25
6 files changed
+585
-684
No files matched your search
@@ -134,7 +134,7 @@ func (c *OidcCommand) Run(args []string) int {
|
||||
watchCode = base.CommandCliError
|
||||
return
|
||||
}
|
||||
if result.GetResponse().StatusCode() == http.StatusNoContent {
|
||||
if result.GetResponse().StatusCode() == http.StatusAccepted {
|
||||
// Nothing yet -- circle around.
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user