Hello everyone,
version → “@auth0/auth0-react”: “^2.2.0”
I’m trying to add internationalization so I’ve implemented this function
onClick={() => loginWithRedirect({authorizationParams: {ui_locales: "it",},})}
Or this:
<Auth0Provider
domain={process.env.NEXT_PUBLIC_AUTH0_DOMAIN}
clientId={process.env.NEXT_PUBLIC_AUTH0_OAUTH_CLIENT_ID}
authorizationParams={{
redirect_uri: url,
ui_locales:"it",
}}
>
{children}
</Auth0Provider>
Also using “@auth0/nextjs-auth0”: “^3.0.1”
import { handleAuth, handleLogin } from '@auth0/nextjs-auth0';
export default handleAuth({
login: async (req, res) => {
try {
await handleLogin(req, res, {
authorizationParams: { ui_locales: "it" }
});
} catch (error) {
console.error(error);
}
}
});
unfortunately, the UI is still in ENG, is there anything I’m missing on the current version?
I really appreciate any help you can provide.
Kyle