When I run my project on localhost, everything works fine.
However, when I build my project for production, I get a 404 on my callback URL.
let webAuth = new auth0.WebAuth({
domain: ‘banify.eu.auth0.com’,
clientID: ‘l5mhLr2n433PMgXI50rZTFr3R5y0XOIs’,
redirectUri: ‘banify-app’,
// we will use the api/v2/ to access the user information as payload
audience: ‘https://’ + ‘banify.eu.auth0.com’ + ‘/api/v2/’,
responseType: ‘token id_token’,
scope: ‘openid profile’ // define the scopes you want to use
})
Can someone please help me with this issue?
The callback url in localhost mode is localhost:8080/callback
However, this callback url in production does not work.