capacitor with android app, fetch problem ```ts a...
# support-questions
p
capacitor with android app, fetch problem
Copy code
ts
async function onGithubPressed() {
  const authorisationURL = props.mobile
    ? `${MOBILE_URL}/auth/callback/github`
    : `${FRONTEND_URL}/auth/callback/github`
  const authUrl = await ThirdPartyEmailPassword.getAuthorisationURLWithQueryParamsAndSetState({
    providerId: 'github',
    // This is where github should redirect the user back after login or error.
    // This URL goes on the github dashboard as well.
    authorisationURL,
  })
  if (props.mobile)
    window.open(authUrl, '_self')
  else
    window.location.assign(authUrl)
}
Failed to fetch
r
hey @productdevbook whats the full stack trace of the error?
p
no more errors
r
did you google this error?
p
github
but chrome test working pc
r
i meant did you search about this error on google?
p
in android studio in app problem
hmm no, let me have a look
cors problem
r
this error usually means that the backend is not working or running
this is not a supertokens specific issue. So please try and debug it yourself.
p
hmm this cors my backend thats true