Skip to content

Commit

Permalink
force https for apple redirect uri
Browse files Browse the repository at this point in the history
  • Loading branch information
patrislav committed Feb 23, 2024
1 parent 4cd625d commit 936d837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function Login() {
router.navigate('/')
}

const appleRedirectUri = 'http://' + window.location.host + (window.location.host.includes("github.io") ? '/demo-waas-auth' : '')
const appleRedirectUri = 'https://' + window.location.host + (window.location.host.includes("github.io") ? '/demo-waas-auth' : '')
const handleAppleLogin = async (response: { authorization: { id_token: string } }) => {
const walletAddress = await sequence.signIn({
idToken: response.authorization.id_token,
Expand Down

0 comments on commit 936d837

Please sign in to comment.