Skip to content

Commit

Permalink
Does oauth form post work now?
Browse files Browse the repository at this point in the history
  • Loading branch information
rmarscher committed Jan 5, 2024
1 parent c80ccd8 commit 230cd89
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions apps/next/pages/oauth/[provider].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ import Head from 'next/head'

// Apple will POST form data to the redirect URI when scopes have been requested
// @link https://developer.apple.com/documentation/sign_in_with_apple/request_an_authorization_to_the_sign_in_with_apple_server
// However, it does deploy to cloudflare due to issues with the SSR function for the react screen
// We are looking into alternatives (possibly using nextjs api routes) to handle Apple's form post
// export { getServerSideProps } from 'app/features/oauth/screen'
// export const runtime = 'experimental-edge'
export { getServerSideProps } from 'app/features/oauth/screen'
export const runtime = 'experimental-edge'

export default function Page(props: OAuthSignInScreenProps) {
return (
Expand Down

0 comments on commit 230cd89

Please sign in to comment.