Skip to content

Help - Configure sign in with Apple  #1813

@harrytang

Description

@harrytang

Hi,

I got the error: prepare login url for [apple] provider failed

I did follow the doc very carefully but could not make it work.

I have my remark42 (v1.13.1) running at https://comment.harrytang.xyz/. This is my Web Authentication Configuration in Apple:
Screenshot 2024-09-19 at 22 16 04

I don't know if something not correct, any help really appreciated! Thanks

Here is the logs:

2024/09/19 14:11:28.454 [DEBUG] {provider/apple.go:244 provider.(*AppleHandler).LoginHandler} login with apple
2024/09/19 14:11:28.454 [ERROR] {provider/apple.go:281 provider.(*AppleHandler).LoginHandler} prepare login url for [apple] provider failed
2024/09/19 14:11:28.454 [INFO]  {rest/httperrors.go:39 rest.SendErrorJSON} prepare login url for [apple] provider failed - response_mode must be form_post if scope is not empty - 500 - 88.112.34.153 - /auth/apple/login?from=https://comment.harrytang.xyz/web/iframe.html?selfClose&site=harrytang.xyz [caused by auth/provider/apple.go:282 provider.(*AppleHandler).LoginHandler]
2024/09/19 14:11:28.454 [ERROR] {provider/apple.go:281 provider.(*AppleHandler).LoginHandler} prepare login url for [apple] provider failed
2024/09/19 14:11:28.454 [INFO]  {logger/logger.go:134 logger.(*Middleware).Handler-fm.(*Middleware).Handler.func1.1} GET - /auth/apple/login?from=https://comment.harrytang.xyz/web/iframe.html?selfClose&site=harrytang.xyz - comment.harrytang.xyz - 586fcf4504d9 - 500 (58) - 173.282µs - e3807323-accc-9078-bbeb-66a29d51012e
2024/09/19 14:13:29.979 [INFO]  {logger/logger.go:134 logger.(*Middleware).Handler-fm.(*Middleware).Handler.func1.1} GET - /api/v1/config?site=harrytang.xyz - comment.harrytang.xyz - 586fcf4504d9 - 200 (579) - 29.481µs - d3d19160-62ba-9cf9-99b9-eed12c6fc4a5
2024/09/19 14:13:30.029 [DEBUG] {middleware/auth.go:75 middleware.(*Authenticator).Auth.(*Authenticator).auth.func1} auth failed, invalid kind of token
2024/09/19 14:13:30.037 [DEBUG] {api/rest_public.go:73 api.(*public).findCommentsCtrl} get comments for {SiteID:harrytang.xyz URL:https://harrytang.xyz/blog/how-receive-salary-using-wise}, sort -active, format tree, since 0001-01-01 00:00:00 +0000 UTC
2024/09/19 14:13:30.037 [INFO]  {logger/logger.go:134 logger.(*Middleware).Handler-fm.(*Middleware).Handler.func1.1} GET - /api/v1/find?site=harrytang.xyz&url=https://harrytang.xyz/blog/how-receive-salary-using-wise&sort=-active&format=tree - comment.harrytang.xyz - 586fcf4504d9 - 200 (106) - 61.68µs - 82c44698-c5b8-9d6f-bb25-7bdcd3f976b7

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions