Could someone help me with this?
I’m going through the example at https://auth0.com/docs/quickstart/spa/react/02-calling-an-api, trying to adapt it to my React SPA.
I’m getting “Login required” at the point of trying to get an access token.
The last network request is (with details obfuscated…):
https://[my domain]/authorize?audience=https[my domain]%2Fapi%2Fv2%2F&scope=openid%20profile%20email%20read%3Acurrent_user%20update%3Acurrent_user_metadata%20read%3Ausers%20read%3Auser_idp_tokens&client_id=[yaddayadda]&redirect_uri=http%3A%2F%2Flocalhost%3A3000&response_type=code&response_mode=web_message&state=[yaddayadda]%3D%3D&nonce=[yaddayadda]%3D%3D&code_challenge=[yaddayadda]&code_challenge_method=S256&prompt=none&auth0Client=[yaddayadda]%3D%3D
I’m able to use auth0 react module to get the user info in this component but I’m stuck at trying to access the management API to get user_metadata.