Open WebCloud opened 1 month ago
Hard to say since login works with the deployed version of the template: https://www.epicstack.dev
Interesting. I'll give it another shot and see. I thought I followed the doc properly but I might have missed on something then
Whist setting up my own app I've stumbled upon an error:
Originating from https://github.com/epicweb-dev/epic-stack/blob/f1fd16da59a648e0755e1c6e5c136d05c7a78e48/app/utils/providers/github.server.ts#L31-L33
This seem to be refering to a missing constructor args: https://github.com/sergiodxa/remix-auth-oauth2/blob/main/src/index.ts#L178
AFter changin the
callbackURL
toredirectURI
it threw a new error:cause: OAuth2Error: redirect_uri_mismatch
Which seemed to be related to the initially configured URL on the OAuth app. After changing and matching those I got a 404 since the
clientId
option is wrongly calledclientID
.with those fixes I was able to finally get the GH OAuth login prompt, but got an error about a missing
expires_in
field.