Skip to content

Sign in with Apple breaks #1789

@tomy0000000

Description

@tomy0000000

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions