ministryofjustice/fab-oidc

App on intranet with Google login

Opened this issue · 0 comments

Hi,
Is there any way to get FAB-oidc login from behind NAT?
I'd like to deploy an app on the intranet, without external domain name. A FQDN is needed for redirect_uri in Google Oauth settings.

By setting the 'OVERWRITE_REDIRECT_URI' to something fake (e.g. app.localdomain.com) the auth flow can be completed, but then the next step is a redirection from FAB to that URI. That, naturally, fails.

I couldn't find the spot where this redirection is done to override it...

Any clues? Thanks!