Skip to content

Commit

Permalink
Update interactive.md (#10504)
Browse files Browse the repository at this point in the history
Update URLs

From  http://localhost:3000/logout, callback, login

To  http://localhost:3000/
  • Loading branch information
BcnCarlos authored Feb 18, 2025
1 parent 73e58c9 commit 8b8ea41
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions articles/quickstart/webapp/express/interactive.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ If you would rather explore a complete configuration, you can view a sample appl
A callback URL is a URL in your application that you would like Auth0 to redirect users to after they have authenticated. If not set, users will not be returned to your application after they log in.

::: note
If you are following along with our sample project, set this to http://localhost:3000/callback.
If you are following along with our sample project, set this to http://localhost:3000/.
:::

### Configure Logout URLs

A logout URL is a URL in your application that you would like Auth0 to redirect users to after they have logged out. If not set, users will not be able to log out from your application and will receive an error.

::: note
If you are following along with our sample project, set this to http://localhost:3000/logout.
If you are following along with our sample project, set this to http://localhost:3000/.
:::

## Install the Express OpenID Connect SDK {{{ data-action=code data-code="server.js#3:10" }}}
Expand Down Expand Up @@ -71,7 +71,7 @@ You can generate a suitable string for `LONG_RANDOM_STRING` using `openssl rand

::::checkpoint
:::checkpoint-default
A user can now log into your application by visiting the `/login` route provided by the library. If you are running your project on `localhost:3000` that link would be [`http://localhost:3000/login`](http://localhost:3000/login).
A user can now log into your application by visiting the `/login` route provided by the library. If you are running your project on `localhost:3000` that link would be [`http://localhost:3000/`](http://localhost:3000/).
:::
:::checkpoint-failure
Sorry about that. You should check the error details on the Auth0 login page to make sure you have entered the callback URL correctly.
Expand All @@ -87,7 +87,7 @@ Add the `requiresAuth` middleware for routes that require authentication. Any r

::::checkpoint
:::checkpoint-default
A user can log out of your application by visiting the `/logout` route provided by the library. If you are running your project on `localhost:3000` that link would be [`http://localhost:3000/logout`](http://localhost:3000/logout).
A user can log out of your application by visiting the `/logout` route provided by the library. If you are running your project on `localhost:3000` that link would be [`http://localhost:3000/`](http://localhost:3000/).
:::
:::checkpoint-failure
Sorry about that. You should check that you configured the logout URL correctly.
Expand Down

0 comments on commit 8b8ea41

Please sign in to comment.