Hello! I'm trying to convert my GitHub sign in to ...
# help
c
Hello! I'm trying to convert my GitHub sign in to to Supabase, but for some reason on callback I get redirected to https://Example.github.io/ instead of https://Example.github.io/Example/. Someone recognise where I can have done it wrong?
s
Are you asking about using GitHub as a way to sign into your app you created with Supabase?
c
I have an external app, let's call it Example. It's located at https://Example.github.io/Example/. I have previously had a temporary backend for signing in, which worked for personal use (as in starting up the backend when I needed). Now with Supa i would like to setup a permanent solution, so I read the authentication documentation and GitHub example, and it seams to work except for that I am redirected to the root URL (https://example.github.io/) after signing in, so it returns 404 and the signin is lost. But I see in the Supa authentication log that my user was approved by GitHub.
I have written https://example.github.io/Example/ in Authentication -> Settings -> Site URL.
Solved it by using
redirectTo
.