Skip to content

Commit

Permalink
updating outdated or broken URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
mchang16-auth committed Feb 25, 2025
1 parent e62c9ac commit ee4ab91
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion articles/quickstart/_includes/_auth0-react-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ Run the following command within your project directory to install the Auth0 Rea
npm install @auth0/auth0-react
```

The SDK exposes methods and variables that help you integrate Auth0 with your React application idiomatically using <a href="https://reactjs.org/docs/hooks-overview.html" target="_blank" rel="noreferrer">React Hooks</a> or <a href="https://reactjs.org/docs/higher-order-components.html" target="_blank" rel="noreferrer">Higher-Order Components</a>.
The SDK exposes methods and variables that help you integrate Auth0 with your React application idiomatically using <a href="https://react.dev/reference/react/hooks" target="_blank" rel="noreferrer">React Hooks</a> or <a href="https://reactjs.org/docs/higher-order-components.html" target="_blank" rel="noreferrer">Higher-Order Components</a>.
2 changes: 1 addition & 1 deletion articles/quickstart/backend/django/interactive.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ cd apiexample

## Create the JWT validator {{{ data-action=code data-code="apiexample/validator.py" }}}

You're going to use a library called <a href="https://github.com/lepture/authlib" target="_blank" rel="noreferrer">Authlib</a> to create a <a href="https://docs.authlib.org/en/latest/flask/1/resource-server.html" target="_blank" rel="noreferrer">ResourceProtector</a>, which is a type of <a href="https://docs.djangoproject.com/en/4.0/topics/http/decorators/" target="_blank" rel="noreferrer">Django view decorator</a> that protects your resources (API views) with a given validator.
You're going to use a library called <a href="https://github.com/lepture/authlib" target="_blank" rel="noreferrer">Authlib</a> to create a <a href="https://docs.authlib.org/en/latest/flask/1/resource-server.html" target="_blank" rel="noreferrer">ResourceProtector</a>, which is a type of <a href="https://docs.djangoproject.com/en/5.1/topics/http/decorators/" target="_blank" rel="noreferrer">Django view decorator</a> that protects your resources (API views) with a given validator.

The validator will verify the Access Token that you pass to the resource by checking that it has a valid signature and claims.

Expand Down
2 changes: 1 addition & 1 deletion articles/quickstart/native/android/00-login.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ android {
```

::: panel Sync Project with Gradle Files
Remember to synchronize using the Android Studio prompt or run `./gradlew clean build` from the command line. For more information about Gradle usage, check <a href="http://tools.android.com/tech-docs/new-build-system/user-guide" target="_blank" rel="noreferrer">their official documentation</a>.
Remember to synchronize using the Android Studio prompt or run `./gradlew clean build` from the command line. For more information about Gradle usage, check <a href="https://developer.android.com/build/gradle-build-overview" target="_blank" rel="noreferrer">their official documentation</a>.
:::

Add manifest placeholders required by the SDK. The placeholders are used internally to define an `intent-filter` that captures the authentication callback URL. For this, the Auth0 tenant domain and the scheme that take part in the callback URL must be set.
Expand Down
2 changes: 1 addition & 1 deletion articles/quickstart/native/ionic-react/interactive.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Auth0 allows you to quickly add authentication and gain access to user profile i

## Configure the `Auth0Provider` component {{{ data-action=code data-code="index.tsx" }}}

Under the hood, the Auth0 React SDK uses <a href="https://reactjs.org/docs/context.html" target="_blank" rel="noreferrer">React Context</a> to manage the authentication state of your users. One way to integrate Auth0 with your React app is to wrap your root component with an `Auth0Provider` you can import from the SDK.
Under the hood, the Auth0 React SDK uses <a href="https://react.dev/reference/react/useContext" target="_blank" rel="noreferrer">React Context</a> to manage the authentication state of your users. One way to integrate Auth0 with your React app is to wrap your root component with an `Auth0Provider` you can import from the SDK.

The `Auth0Provider` component takes the following props:

Expand Down
2 changes: 1 addition & 1 deletion articles/quickstart/spa/react/01-login.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Visit the <a href="https://developer.auth0.com/resources/guides/spa/react/basic-

### Configure the `Auth0Provider` component

Under the hood, the Auth0 React SDK uses <a href="https://reactjs.org/docs/context.html" target="_blank" rel="noreferrer">React Context</a> to manage the authentication state of your users. One way to integrate Auth0 with your React app is to wrap your root component with an `Auth0Provider` that you can import from the SDK.
Under the hood, the Auth0 React SDK uses <a href="https://react.dev/reference/react/useContext" target="_blank" rel="noreferrer">React Context</a> to manage the authentication state of your users. One way to integrate Auth0 with your React app is to wrap your root component with an `Auth0Provider` that you can import from the SDK.

```javascript
import React from 'react';
Expand Down
2 changes: 1 addition & 1 deletion articles/quickstart/webapp/laravel/01-login.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Route::get('/', function () {

## User Management{{{ data-action=code data-code="routes/web.php#26:43" }}}

You can update user information using the <a href="https://github.com/auth0/laravel-auth0/blob/main/Management.md" target="_blank" rel="noreferrer">Auth0 Management API</a>. All Management endpoints are accessible through the SDK's `management()` method.
You can update user information using the <a href="https://github.com/auth0/laravel-auth0/blob/main/docs/Management.md" target="_blank" rel="noreferrer">Auth0 Management API</a>. All Management endpoints are accessible through the SDK's `management()` method.

**Before making Management API calls you must enable your application to communicate with the Management API.** This can be done from the <a href="https://manage.auth0.com/#/apis/" target="_blank" rel="noreferrer">Auth0 Dashboards API page</a>, choosing `Auth0 Management API`, and selecting the 'Machine to Machine Applications' tab. Authorize your Laravel application, and then click the down arrow to choose the scopes you wish to grant.

Expand Down
2 changes: 1 addition & 1 deletion articles/quickstart/webapp/nextjs/01-login.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Run the following command within your project directory to install the Auth0 Nex
npm install @auth0/nextjs-auth0
```

The SDK exposes methods and variables that help you integrate Auth0 with your Next.js application using <a href="https://nextjs.org/docs/app/building-your-application/routing/route-handlers" target="_blank" rel="noreferrer">Route Handlers</a> on the backend and <a href="https://reactjs.org/docs/context.html" target="_blank" rel="noreferrer">React Context</a> with <a href="https://reactjs.org/docs/hooks-overview.html" target="_blank" rel="noreferrer">React Hooks</a> on the frontend.
The SDK exposes methods and variables that help you integrate Auth0 with your Next.js application using <a href="https://nextjs.org/docs/app/building-your-application/routing/route-handlers" target="_blank" rel="noreferrer">Route Handlers</a> on the backend and <a href="https://react.dev/reference/react/useContext" target="_blank" rel="noreferrer">React Context</a> with <a href="https://react.dev/reference/react/hooks" target="_blank" rel="noreferrer">React Hooks</a> on the frontend.

### Configure the SDK

Expand Down
2 changes: 1 addition & 1 deletion articles/quickstart/webapp/nextjs/interactive.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Run the following command within your project directory to install the Auth0 Nex
npm i @auth0/nextjs-auth0
```

The SDK exposes methods and variables that help you integrate Auth0 with your Next.js application using <a href="https://nextjs.org/docs/app/building-your-application/routing/route-handlers" target="_blank" rel="noreferrer">Route Handlers</a> on the backend and <a href="https://reactjs.org/docs/context.html" target="_blank" rel="noreferrer">React Context</a> with <a href="https://reactjs.org/docs/hooks-overview.html" target="_blank" rel="noreferrer">React Hooks</a> on the frontend.
The SDK exposes methods and variables that help you integrate Auth0 with your Next.js application using <a href="https://nextjs.org/docs/app/building-your-application/routing/route-handlers" target="_blank" rel="noreferrer">Route Handlers</a> on the backend and <a href="https://react.dev/reference/react/useContext" target="_blank" rel="noreferrer">React Context</a> with <a href="https://react.dev/reference/react/hooks" target="_blank" rel="noreferrer">React Hooks</a> on the frontend.

## Configure the SDK {{{ data-action=code data-code=".env.local" }}}

Expand Down
2 changes: 1 addition & 1 deletion articles/quickstart/webapp/nginx-plus/01-login.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This tutorial and seed project have been tested with the following:

## Install and Enable `nginx-plus-module-njs` Module

First, you need to install the nginx-plus-module-njs module for NGINX Plus. Follow the <a href="https://www.nginx.com/products/nginx/dynamic-modules/" target="_blank" rel="noreferrer">dynamic module installation guide</a> to install packages in your host OS.
First, you need to install the nginx-plus-module-njs module for NGINX Plus. Follow the <a href="https://docs.nginx.com/nginx/admin-guide/dynamic-modules/nginscript" target="_blank" rel="noreferrer">dynamic module installation guide</a> to install packages in your host OS.
For Linux distributions that use `yum` package manager install as follows:

```bash
Expand Down
2 changes: 1 addition & 1 deletion articles/quickstart/webapp/php/01-login.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Let's create a sample application that authenticates a user with a PHP applicati

The Auth0 PHP SDK supports many <a href="https://www.php-fig.org" target="_blank" rel="noreferrer">PHP-FIG</a> standards offering interoperability options with your architecture. Two of particular importance are <a href="https://www.php-fig.org/psr/psr-17/" target="_blank" rel="noreferrer">PSR-17</a> and <a href="https://www.php-fig.org/psr/psr-18/" target="_blank" rel="noreferrer">PSR-18</a>. These standards allow you to plug-in networking components of your choice to handle messaging and requests. You will need to install compatible libraries in your project for the SDK to use.

The most prolific networking library for PHP is <a href="https://guzzlephp.org" target="_blank" rel="noreferrer">Guzzle</a>, although many are available to pick from within the PHP community. Let's use Guzzle for this sample application. Once again, from your project directory, run the following shell command:
The most prolific networking library for PHP is <a href="https://docs.guzzlephp.org/" target="_blank" rel="noreferrer">Guzzle</a>, although many are available to pick from within the PHP community. Let's use Guzzle for this sample application. Once again, from your project directory, run the following shell command:

```sh
composer require guzzlehttp/guzzle guzzlehttp/psr7 http-interop/http-factory-guzzle
Expand Down
2 changes: 1 addition & 1 deletion articles/quickstart/webapp/rails/interactive.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Still having issues? Check out our <a href="https://auth0.com/docs" target="_bla

## Show user profile information {{{ data-action=code data-code="secured.rb" }}}

To display the user's profile, your application should provide a protected route. You can use a <a href="https://guides.rubyonrails.org/getting_started.html#using-concerns" target="_blank" rel="noreferrer">Concern</a> to control access to routes that can be shared across multiple controllers. The concern should automatically redirect to Auth0 when the user is unauthenticated. Otherwise, the concern should return the current user profile.
To display the user's profile, your application should provide a protected route. You can use a <a href="https://api.rubyonrails.org/classes/ActiveSupport/Concern.html" target="_blank" rel="noreferrer">Concern</a> to control access to routes that can be shared across multiple controllers. The concern should automatically redirect to Auth0 when the user is unauthenticated. Otherwise, the concern should return the current user profile.

Once you have a Concern, include it in any controller that requires a logged in user. You can then access the user from the session `session[:userinfo]` as in the following example:

Expand Down

0 comments on commit ee4ab91

Please sign in to comment.