You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to convert the owner account on my Coder instance to an OIDC user. However, I am receiving the following error message:
Convert to oauth cookie not found. Missing signed jwt to authorize this action. Please try again.
Background
Looking through the requests, it seems like the cookie is set correctly in the browser. However, the response from the call to api/v2/users/oidc/callback?state=convert-XXX after completing the OIDC login doesn't include this cookie. This might be triggering the error from here in userauth.go
msg: fmt.Sprintf("Convert to oauth cookie not found. Missing signed jwt to authorize this action. "+
"Please try again."),
}
}
I haven't spend too much time looking through the source here and I was unable to understand the flow of this request but I was wondering if this could be because of the call to clearOAuthConvertCookie before the call to convertUserToOauth could be causing this?
I am using Google Workspace OAuth as my OIDC provider and the audit logs show a missing value in the diff for the old "user_id" is blank for this operation. Again, I am not entirely sure if this is relevant information the response is attached here:
Issue
I am trying to convert the owner account on my Coder instance to an OIDC user. However, I am receiving the following error message:
Convert to oauth cookie not found. Missing signed jwt to authorize this action. Please try again.
Background
Looking through the requests, it seems like the cookie is set correctly in the browser. However, the response from the call to
api/v2/users/oidc/callback?state=convert-XXX
after completing the OIDC login doesn't include this cookie. This might be triggering the error from here inuserauth.go
coder/coderd/userauth.go
Lines 1508 to 1515 in d2a9049
I haven't spend too much time looking through the source here and I was unable to understand the flow of this request but I was wondering if this could be because of the call to
clearOAuthConvertCookie
before the call toconvertUserToOauth
could be causing this?coder/coderd/userauth.go
Lines 1224 to 1234 in d2a9049
Additional Information
I am using Google Workspace OAuth as my OIDC provider and the audit logs show a missing value in the diff for the old "user_id" is blank for this operation. Again, I am not entirely sure if this is relevant information the response is attached here:
JSON Response Object from Audit Logs
The text was updated successfully, but these errors were encountered: