This tutorial demonstrates how to use the nginx-openid-connect module to add authentication and authorization to
your NGINX server. We recommend that you log in to follow this quickstart with examples configured for your account.
First, you need to install the Once you’ve installed it, you need to enable it for NGINX by adding the following line near the top of your
nginx-plus-module-njs module for NGINX Plus.Follow the dynamic module installation guide to install packages in your host OS.For Linux distributions that use yum package manager, you can install the module like so:/etc/nginx/nginx.conf file:Run the configure.sh script inside the nginx-openid-connect folder to populate the template configuration for
your Auth0 application:Next, add your tenant’s logout URL to your
openid_connect_configuration.conf file.In the Auth0 Dashboard:
- Go to Applications > Applications, and then select your application from the list.
- Switch to the Settings view.
- In the Application URIs section, add
https://{yourDomain}/_codexchto Allowed Callback URLs. - Switch to the Credentials view.
Next Steps
Excellent work! If you made it this far, you should now have login, logout, and user profile information running in your application.This concludes our quickstart tutorial, but there is so much more to explore. To learn more about what you can do with Auth0, check out:- Auth0 Dashboard - Learn how to configure and manage your Auth0 tenant and applications
- Auth0 Marketplace - Discover integrations you can enable to extend Auth0’s functionality