D
D
d999992021-04-08 13:28:32
symfony
d99999, 2021-04-08 13:28:32

How to make KNP university redirect to the current url registered in etc/hosts, and not to 127.0.0.1?

knpu_oauth2_client.yaml:

knpu_oauth2_client:
    clients:
        google_main:
            type: google
            client_id: '%env(OAUTH_GOOGLE_ID)%'
            client_secret: '%env(OAUTH_GOOGLE_SECRET)%'
            redirect_route: google_check
            redirect_params: {}
            access_type: 'online'


GOOGLE_API_KEY=...
GOOGLE_CLIENT_ID=...
GOOGLE_CLIENT_SECRET=...
GOOGLE_REDIRECT=https://local.refer.dev/uk/google-check


With all this from the test server - redirects to a test that is without https (just http).

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question