我能够通过启动范围/客户端 ID、重定向 URI 等将苹果登录注入网站
现在成功登录后,苹果使用发布响应将响应重定向到重定向 URI,请原谅我的无知!但是如何在我的网站上处理这个回调?我可以在 Apple 库本身中使用它吗?或者我需要建立自己的东西?当我在后端使用 RESTFul API 时,我期望获取令牌并将其传递给后端
我的页面是这样的
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
.signin-button {
width: 210px;
height: 40px;
}
</style>
<meta name="appleid-signin-client-id" content="com.xxx.web">
<meta name="appleid-signin-scope" content="name email">
<meta name="appleid-signin-redirect-uri" content="https://xxx.xxx.com">
<meta name="appleid-signin-state" content="authorized">
</head>
<body>
<html>
<body>
<div id="appleid-signin" data-color="white" data-border="true" data-type="sign in"></div>
<script type="text/javascript" src="https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js"></script>
</script>
</body>
</html>
谢谢