Server does not pass auth0 data to React
leoromanovsky opened this issue · 0 comments
leoromanovsky commented
Lines 32 to 35 in 95c65f9
Since this is a static HTML file, not a gin tmpl
the executed javascript code is:
window.AUTH0_DOMAIN = {{ .AUTH0_DOMAIN }};
window.AUTH0_CLIENT_ID = {{ .AUTH0_CLIENT_ID }};
window.AUTH0_AUDIENCE = {{ .AUTH0_AUDIENCE }};
window.AUTH0_CALLBACK = {{ .AUTH0_CALLBACK }};
Have you been able to figure out how to pass data from gin to React?