根据 Microsoft 文档中的指南,调整自定义策略中的 ClaimsProvider 和 TechnicalProfile,以确保正确处理 Apple 的撤消令牌终端点。以下是示例代码中的关键修改:
Apple
- https://appleid.apple.com/auth/token
- id_token code
- openid email
- authorization_code
- true
Apple Expired Token Revocation
- https://appleid.apple.com/auth/token
- {client_id}
- {client_secret}
- bearer
- true
- 400
Signin