-
Hi all, Installed the Ory CLI on Fedora Linux via the recommend instructions and trying to authenticate however receiving a 403 forbidden that I am unable to debug (there doesn't seem to be a verbose or debug flag for auth commands?). It does however work with the same account on my Macbook. Any ideas? For full context I signed in with Github social, have set up my email and 2FA.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Doing some debugging in my free time to get this to work. It seems that the problem is in This means that the type assertion fails therefore it doesn't use the session token to ask for 2FA, instead simply erroring out with a 403. Changing the type assertion to |
Beta Was this translation helpful? Give feedback.
Doing some debugging in my free time to get this to work.
It seems that the problem is in
client/cmd/cloudx/client/handler.go:416
. My account has 2FA enabled and unfortunately the type being returned is not*cloud.GenericOpenAPIError
but*oldCloud.GenericOpenAPIError
.This means that the type assertion fails therefore it doesn't use the session token to ask for 2FA, instead simply erroring out with a 403.
Changing the type assertion to
*oldCloud.GenericOpenAPIError
and creating a custom build locally then means I can successfully log in.