We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
This ran perfectly :
Torus.init({ "network": { "host": "goerli" }, "showTorusButton": false, "buildEnv": "testing", "enableLogging": true, "whiteLabel": { "theme": { "isDark": true, "colors": { "torusBrand1": "#27b18a" } } } })
And the Torus modal pops up as expected. However, when trying to login with google, it returns this error :
To Reproduce Steps to reproduce the behavior:
torus.init
{ "network": { "host": "goerli" }, "showTorusButton": false, "buildEnv": "testing", "enableLogging": true, "whiteLabel": { "theme": { "isDark": true, "colors": { "torusBrand1": "#27b18a" } } } }
400 bad request
Expected behavior Login with google works as expected with whitelabel params supplied
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information): Not tested on smartphone
Additional context Was testing on Goerli
The text was updated successfully, but these errors were encountered:
Unable to reproduce this. can you share a minimal reproducible example?
Sorry, something went wrong.
@chaitanyapotti I was able to reproduce this by assigning an imported .svg file to logoDark or logoWhite - something like this :
.svg
logoDark
logoWhite
import SVGDark from '../asset/svg-dark.svg' import SVGLight from '../asset/svg-light.svg' const TORUS_INIT_PARAMS = { network: { host: 'goerli', }, showTorusButton: false, buildEnv: 'testing' , enableLogging: true, whiteLabel: { theme: { isDark: true, colors: { torusBrand1: '#27b18a', }, }, logoDark: SVGDark, logoLight: SVGLight, topupHide: false, featuredBillboardHide: false, disclaimerHide: true, defaultLanguage: 'en', }, }
the logos need to be links and not real svgs
No branches or pull requests
Describe the bug
This ran perfectly :
And the Torus modal pops up as expected. However, when trying to login with google, it returns this error :
To Reproduce
Steps to reproduce the behavior:
torus.init
with these parameters :400 bad request
errorExpected behavior
Login with google works as expected with whitelabel params supplied
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Not tested on smartphone
Additional context
Was testing on Goerli
The text was updated successfully, but these errors were encountered: