You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/Bug Report.yml
+1-1
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ body:
15
15
options:
16
16
- label: The issue can be reproduced in the [auth0-react sample app](https://github.com/auth0-samples/auth0-react-samples/tree/master/Sample-01) (or N/A).
17
17
required: true
18
-
- label: I have looked into the [Readme](https://github.com/auth0/auth0-react#readme), [Examples](https://github.com/auth0/auth0-react/blob/master/EXAMPLES.md), and [FAQ](https://github.com/auth0/auth0-react/blob/master/FAQ.md) and have not found a suitable solution or answer.
18
+
- label: I have looked into the [Readme](https://github.com/auth0/auth0-react#readme), [Examples](https://github.com/auth0/auth0-react/blob/main/EXAMPLES.md), and [FAQ](https://github.com/auth0/auth0-react/blob/main/FAQ.md) and have not found a suitable solution or answer.
19
19
required: true
20
20
- label: I have looked into the [API documentation](https://auth0.github.io/auth0-react/) and have not found a suitable solution or answer.
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/Feature Request.yml
+1-1
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ body:
8
8
attributes:
9
9
label: Checklist
10
10
options:
11
-
- label: I have looked into the [Readme](https://github.com/auth0/auth0-react#readme), [Examples](https://github.com/auth0/auth0-react/blob/master/EXAMPLES.md), and [FAQ](https://github.com/auth0/auth0-react/blob/master/FAQ.md) and have not found a suitable solution or answer.
11
+
- label: I have looked into the [Readme](https://github.com/auth0/auth0-react#readme), [Examples](https://github.com/auth0/auth0-react/blob/main/EXAMPLES.md), and [FAQ](https://github.com/auth0/auth0-react/blob/main/FAQ.md) and have not found a suitable solution or answer.
12
12
required: true
13
13
- label: I have looked into the [API documentation](https://auth0.github.io/auth0-react/) and have not found a suitable solution or answer.
**Note** If you are using a custom router, you will need to supply the `Auth0Provider` with a custom `onRedirectCallback` method to perform the action that returns the user to the protected page. See examples for [react-router](https://github.com/auth0/auth0-react/blob/master/EXAMPLES.md#1-protecting-a-route-in-a-react-router-dom-app), [Gatsby](https://github.com/auth0/auth0-react/blob/master/EXAMPLES.md#2-protecting-a-route-in-a-gatsby-app) and [Next.js](https://github.com/auth0/auth0-react/blob/master/EXAMPLES.md#3-protecting-a-route-in-a-nextjs-app-in-spa-mode).
47
+
**Note** If you are using a custom router, you will need to supply the `Auth0Provider` with a custom `onRedirectCallback` method to perform the action that returns the user to the protected page. See examples for [react-router](https://github.com/auth0/auth0-react/blob/main/EXAMPLES.md#1-protecting-a-route-in-a-react-router-dom-app), [Gatsby](https://github.com/auth0/auth0-react/blob/main/EXAMPLES.md#2-protecting-a-route-in-a-gatsby-app) and [Next.js](https://github.com/auth0/auth0-react/blob/main/EXAMPLES.md#3-protecting-a-route-in-a-nextjs-app-in-spa-mode).
Copy file name to clipboardExpand all lines: FAQ.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Frequently Asked Questions
2
2
3
-
**Note:**`auth0-react` uses [Auth0 SPA JS](https://github.com/auth0/auth0-spa-js) behind the scenes, so be sure to check [their FAQs](https://github.com/auth0/auth0-spa-js/blob/master/FAQ.md) too.
3
+
**Note:**`auth0-react` uses [Auth0 SPA JS](https://github.com/auth0/auth0-spa-js) behind the scenes, so be sure to check [their FAQs](https://github.com/auth0/auth0-spa-js/blob/main/FAQ.md) too.
4
4
5
5
1.[User is not logged in after page refresh](#1-user-is-not-logged-in-after-page-refresh)
6
6
2.[User is not logged in after successful sign in with redirect](#2-user-is-not-logged-in-after-successful-sign-in-with-redirect)
-[Quickstart](https://auth0.com/docs/quickstart/spa/react) - our interactive guide for quickly adding login, logout and user information to a React app using Auth0.
14
14
-[Sample App](https://github.com/auth0-samples/auth0-react-samples/tree/master/Sample-01) - a full-fledged React application integrated with Auth0.
15
-
-[FAQs](https://github.com/auth0/auth0-react/blob/master/FAQ.md) - frequently asked questions about the auth0-react SDK.
16
-
-[Examples](https://github.com/auth0/auth0-react/blob/master/EXAMPLES.md) - code samples for common React authentication scenario's.
15
+
-[FAQs](https://github.com/auth0/auth0-react/blob/main/FAQ.md) - frequently asked questions about the auth0-react SDK.
16
+
-[Examples](https://github.com/auth0/auth0-react/blob/main/EXAMPLES.md) - code samples for common React authentication scenario's.
17
17
-[Docs site](https://www.auth0.com/docs) - explore our docs site and learn more about Auth0.
18
18
19
19
## Getting started
@@ -140,7 +140,7 @@ function App() {
140
140
exportdefaultApp;
141
141
```
142
142
143
-
For more code samples on how to integrate **auth0-react** SDK in your **React** application, have a look at our [examples](https://github.com/auth0/auth0-react/blob/master/EXAMPLES.md).
143
+
For more code samples on how to integrate **auth0-react** SDK in your **React** application, have a look at our [examples](https://github.com/auth0/auth0-react/blob/main/EXAMPLES.md).
144
144
145
145
## API reference
146
146
@@ -160,7 +160,7 @@ We appreciate feedback and contribution to this repo! Before you get started, pl
160
160
161
161
-[Auth0's general contribution guidelines](https://github.com/auth0/open-source-template/blob/master/GENERAL-CONTRIBUTING.md)
162
162
-[Auth0's code of conduct guidelines](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md)
@@ -181,4 +181,4 @@ Please do not report security vulnerabilities on the public GitHub issue tracker
181
181
</p>
182
182
<palign="center">Auth0 is an easy to implement, adaptable authentication and authorization platform. To learn more checkout <ahref="https://auth0.com/why-auth0">Why Auth0?</a></p>
183
183
<palign="center">
184
-
This project is licensed under the MIT license. See the <ahref="https://github.com/auth0/auth0-react/blob/master/LICENSE"> LICENSE</a> file for more info.</p>
184
+
This project is licensed under the MIT license. See the <ahref="https://github.com/auth0/auth0-react/blob/main/LICENSE"> LICENSE</a> file for more info.</p>
Copy file name to clipboardExpand all lines: TROUBLESHOOTING.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,6 @@ When your application is not behaving as expected:
5
5
- Check for any messages in the console
6
6
- Check the Network Activity especially any requests to your authorization server
7
7
- Check the log data in your [Auth0 Dashboard](https://manage.auth0.com#/logs)
8
-
- Check the `@auth0/auth0-spa-js`[FAQs](https://github.com/auth0/auth0-spa-js/blob/master/FAQ.md)
8
+
- Check the `@auth0/auth0-spa-js`[FAQs](https://github.com/auth0/auth0-spa-js/blob/main/FAQ.md)
9
9
10
10
If you believe there is a bug in the SDK, [raise an issue](https://github.com/auth0/auth0-spa-js/issues/new/choose). Be sure to include all the information required to reproduce the issue.
0 commit comments