score:0
Accepted answer
as we discussed here in the auth0-react
's github, here is the maintainer answers:
any scope you set in the provider or when calling loginwithredirect
will be appended to the configured default scopes, which are set to openid profile email
by default.
as documented in advanced options, if you do not want those default scope
, you can override them by using:
<auth0provider advancedoptions={{defaultscope: ''}}>...</auth0provider>
keep in mind, openid
will always be added, regardless of what you use as defaultscope, because it is required.
Source: stackoverflow.com
Related Query
- Can not override scope option in auth0-react
- Auth0 Lock Component not showing in React with container option
- React Apollo Error: Invariant Violation: Could not find "client" in the context or passed in as an option
- How can I write an else if structure using React (JSX) - the ternary is not expressive enough
- Can not update state inside setInterval in react hook
- For a React app, can the build process not create a JavaScript map file?
- Can not pass state with react router dom v6 beta, state is null
- React img not immediately changing when src changes. How can I fix this?
- How can I pass CSS classes to React children and ensure they will override the child’s local class?
- I can not get the state from react router Link component using useLocation. So how can I pass it?
- My response contains an png, how can I display the image in react since its not a url?
- Interpolation in React is not working this way can anybody please help me in this regards?
- option disabled selected not set as default value in React js dropdown
- How can I solve this problem. React Router not updating routing on hosting
- How can I update the date placeholder option onMouseOver in react
- React set value to select not working but use selected in option is fine
- I can not collect data from my json - React
- how to show text that can not be selected/copy using react
- How can I redirect to auth0 without clicking on the Log In button in react using the new auth0-spa.js?
- selected option in select element does not work in react
- React select is not selecting option
- How can I add custom props to an Option using React Select?
- Why can NGINX not load my react app with the right css & js files
- How to Create a dropdown Button with see more option and on click toggle should not happen in react js?
- Breadcrumb react code not working, how can i fix it?
- Auth0 ignores scope option
- React Jest Enzyme - Can not get simple Button Click test to pass
- React can not convert undefined or null to object
- How can show "no data available" message if there will be not data available in react js axios?
- How can I create nested option groups in React Select (V2)?
More Query from same tag
- Best practices for displaying and managing error messages in React-Redux app
- How do I create a schema for a blog where posts belong to categories (e.g. Music, Anime, Products) & relate to different tables based on category?
- How do you get react-bootstrap to work in react-storybook
- Receive defaultValue as prop in AntD InputNumber component
- React redux saga - using race has no effect at all
- React Router hide App content when click other pages link
- Is it possible to trigger function after logging in by withAuthenticator() of AWS Amplify?
- How to make page to the top when route changes without scrolling in Reactjs
- Invalid prop of type `string` in react
- React Material UI Textfield onChange
- Module image not found React Redux
- how can I add props inside class in html which already exists
- react : Unhandled Rejection (SyntaxError): Unexpected token < in JSON at position 0
- How to pass in a second argument on ReactJS onSubmit function call
- How i can to convert array to object of array in react?
- this.setState() cannot seem to take a non immediate function
- why isn't <navBar/> rendering? (react.js)
- React Native I can not store an array with AsyncStorage
- Unable to access `this.state` inside event handler function: ReactJS
- React-Stars can't be combined with FontAwesome Icons in Firefox and IE
- props are visible as attributes in html element using styled-components
- How to add separate scroll for each row and I want sorting at nested level in ag-grid-react
- How to resolve 'cannot GET' error on react routes when using ExpressJS to serve react build?
- React effect infinite re-renders when fetching data
- pass a prop as a string, then convert string back into javascript
- how to check type in typescript. instance of not working
- React Nextjs routing passing Redux Store
- How to download file with client in ASP.NET Core and react?
- puppeteer's setContent function not making network requests for static files
- convert json array into string array with only the value of json properties in react