Where's the documentation about passing language to /oauth/token endpoint?

Hi, we have a custom password less Auth0 integration and we’re currently going i18n.

For /start endpoint, no problem there’s a documentation that indicates to add a x-request-language header.

But for /oauth/token endpoint, even if we add either an Accept-Language or X-Request-Accept-Language header, then in our PostLogin action when we dump the event, request.language is present but undefined.

So, is there a way to pass language on this endpoint? If yes is there a link to any documentation to do so?


1 Like

Hi @shouze,

Welcome back to the Auth0 Community!

Pardon me if I’m missing something, but what part of the response are you expecting to be localized?

With the /start endpoint we are localizing the message, but with the /token endpoint there’s not user interaction. What would you like to see?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.