feat: get issuer from context for device auth
This commit is contained in:
parent
97bc09583d
commit
643669fe4f
4 changed files with 18 additions and 6 deletions
|
@ -30,6 +30,7 @@ func Test_deviceAuthorizationHandler(t *testing.T) {
|
|||
|
||||
r := httptest.NewRequest(http.MethodPost, "/", body)
|
||||
r.Header.Set("Content-Type", "application/x-www-form-urlencoded")
|
||||
r = r.WithContext(op.ContextWithIssuer(r.Context(), testIssuer))
|
||||
|
||||
w := httptest.NewRecorder()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue