애플 아이디로 로그인 구현하기
애플의.. 정책에 따라 애플 아이디로 로그인 하기를 구현하고 있습니다.
제가 원하는 자료가 없어서 고생하고 있는데.. 지금 보니 아래의 글이 괜찮아 보이네요.
일단 링크 첨부합니다.(영어)
https://sarunw.com/posts/sign-in-with-apple-3/
Sign in with Apple Tutorial, Part 3: Backend – Token verification | Sarun
Part 3 in a series Sign in with Apple. In this part, we will see how backend can use the token to sign up/sign in users.
sarunw.com
https://forums.developer.apple.com/thread/123736
Apple Sign-In: How to use it for custom server ... |Apple Developer Forums
It's frustrating that Apple is so vague on all of this, especially as they are demanding that we use it. I'm wrestling with the same issue: once I've SIWA'd a user on the device, how do I then create a server-side acount for them in my system and verify au
forums.developer.apple.com
Apple Sign-In: Custom Servers and an Expiry Conundrum
Should we adopt Apple sign-in for server-side use?
medium.com
https://github.com/acodercat/php-jwk-to-pem
acodercat/php-jwk-to-pem
JWk OIDC JWKS PEM RSA Auth JSON Web Key. Contribute to acodercat/php-jwk-to-pem development by creating an account on GitHub.
github.com
위 php코드를 이용해서.. 애플의 jwk를 public key로 변경하려고 합니다.
위 코드를 직접 다운받아서 서버에서 테스트를 해봤더니 Class 'phpseclib\\Crypt\\RSA' not found 에러가 발생하네요. 좀 찾아보니.. dependency 이 잘 해결되도록 composer라는 것으로 다운받아야 하는 것 같습니다.
댓글 영역