#oidc on itch.io hosted clients

1 messages · Page 1 of 1 (latest)

native spindle
#

does someone know what the redirect_uri for a godot web export hosten on itch.io is?
it is for OAuth2.0/OIDC. i got so far that it gets the code from the auth server but the redirect_uri always fails.
i'm unable to host a separate website, so i was hoping that i can just add the callback.html file to the godot project and have it redirect to that file but it doesn't seem to work. any try to do it directly also doesn't work as it restarts the godot instance. redirecting to the main user.itch.io/game page also doesn't work as the game itself is inside an iframe under another url.
adding the html file to the zip also doesn't add it to the iframe url subpaths
I'm currently using window.open() to send the auth request and teh sub html page is using window.opener to find the godot instance again
(please ping)

golden jasper
#

I'm confused. Are you attempting to perform the OIDC auth flow inside your godot app hosted on itch? This may require some hackery on the web app encapsulating your game if so.

native spindle
quaint frost
#

The redirect uri can be any url, the url just needs to be registered with the OIDC provider.

native spindle