After configuring all the required variables, Sign in with Apple still fails. The behavior is identical to the demo site, so I suspect this is not because of misconfiguration.
remark42 | 2024/06/25 00:44:58.852 [ERROR] prepare login url for [apple] provider failed
remark42 | 2024/06/25 00:44:58.852 [INFO] prepare login url for [apple] provider failed - response_mode must be form_post if scope is not empty - 500 - ***.***.***.*** - /auth/apple/login?from=https://***.***.***/web/iframe.html?selfClose&site=blog [caused by auth/provider/apple.go:282 provider.(*AppleHandler).LoginHandler]
remark42 | 2024/06/25 00:44:58.852 [INFO] GET - /auth/apple/login?from=https://***.***.***/web/iframe.html?selfClose&site=blog - ***.***.*** - 9865eb6e1655 - 500 (58) - 206.795µs
remark42 | 2024/06/25 00:44:58.852 [ERROR] prepare login url for [apple] provider failed
After some tracing, I noticed this line, which was added recently:
|
ResponseMode: "query", // default is form_post which wouldn't work here |
It used to be form_post but somehow got changed to query without any document or commit message.
After configuring all the required variables, Sign in with Apple still fails. The behavior is identical to the demo site, so I suspect this is not because of misconfiguration.
After some tracing, I noticed this line, which was added recently:
remark42/backend/app/cmd/server.go
Line 911 in c047059
It used to be
form_postbut somehow got changed toquerywithout any document or commit message.