The Vue app is experiencing difficulty loading and keeps showing an error related to the issuerBaseURL, stating that it must be a valid URI. No matter what changes I make, the issue persists. I have been following this tutorial: TypeError: "issuerBaseUR ...
Here's the code snippet from my /pages/api/_middleware.js file: import { getSession } from '@auth0/nextjs-auth0' export default async function middleware(req, ev) { const session = await getSession(req) console.log(session) return NextResponse ...
I'm currently developing a NextJs application and I need to include the idToken in all backend calls. Is there an efficient method to implement this? Here's a simplified overview of our app structure: We have a page: /* src/pages/example/index.page.tsx */ ...
My web application utilizes Auth0 for authentication and Redux for state management. I have a requirement where only logged-in users can add a favorite coin, else they should be redirected to the login page. Below is the code snippet that I am using: impo ...
After successfully implementing the login feature using @auth0/auth0-react in both my React application and website built with Next JS, I encountered an issue. Although I integrated the login feature to sync user information between the app and website, I ...
After following the Next docs to configure my layouts successfully, I encountered an issue with the NextJS Auth0 SDK's withPageAuthRequired wrapper that disrupts this setup. The layout pattern I've implemented is based on the guidelines outlined ...
TL;DR: Upon logging in, the JWT saved on the client-side is sent to the server using angular2-jwt and verified with express-jwt, resulting in an "UnauthorizedError: jwt malformed" message. Greetings! I'm currently developing a Single Page Application (SPA ...
I have been working on implementing user authentication through Auth0. I followed the instructions provided on their website, but I am encountering authentication issues. Whenever I try to authenticate, an error message appears in the console stating that ...
I am currently utilizing the auth0 platform to authenticate users within a Next.js application. Using the @auth0/nextjs-auth0 SDK, I am closely following the provided documentation. However, I am facing challenges in determining how to dynamically redire ...
I am using a protractor selenium test for an angular2 application that I execute with the command protractor conf.js --params.login.username=John --params.login.password=Doe. The purpose of the test is to attempt to log in to the backend and intentionally ...
I am encountering a 404 error in the browser console while attempting to map the Auth0 module from node_modules in my Angular 2 project using the system.config in the index file. Index File <!-- 2. Configure SystemJS --> <script> System.con ...
Currently, I am facing an issue while utilizing getStaticPaths to create dynamic page routes in my Next.js application. The problem arises because I must pass a Bearer token for authentication when calling an external API. Authentication is handled by Auth ...
I'm currently using Auth0 in combination with Angular 2. The issue I am encountering is that my login code isn't redirecting to the home page after authentication. Based on my understanding, Auth0 does not handle the redirection process itself. Instead, i ...
Recently, I decided to follow a tutorial provided by Auth0 () in order to utilize Cypress.io. However, despite my efforts, I have been unable to retain a successful sign-in with Cypress. Initially, the Cypress Login command allows me to successfully log i ...
Currently, I am working on an Angular application that utilizes NestJS as the backend. Authentication is functioning properly in the Angular app, where users can log in to Auth0 and are redirected back to our app seamlessly. The /token call in the network ...
Hi everyone, I'm a new Angular developer who is working on implementing authentication. I recently added the auth0-angular package to my project and now I'm encountering an error when creating a WebAuth() instance in my code editor (VS Code). The error me ...
Being a beginner in TypeScript, I've successfully integrated Auth0 with JavaScript thanks to their provided sample code. However, I'm struggling to find any sample applications for using Vue with TypeScript. Any recommendations or resources would be grea ...
I successfully developed a small project using AngularJS on my local machine without encountering any issues. However, when I attempted to build the project with Grunt, everything stopped working and an error occurred: vendor.ce3c01a3.js:2 Error: [$inject ...
Per the documentation provided at @auth0/nextjs-auth0, we have the option to utilize withPageAuthRequired to prompt a login screen on pages that require authentication. In shorter terms: export const getServerSideProps = withPageAuthRequired(); However, ...
I am working with a Firebase (Google) cloud function that is structured like this // Initialize the Auth0 client var AuthenticationClient = require('auth0').AuthenticationClient; var auth0 = new AuthenticationClient({ domain: 'familybank.auth0.c ...
Having trouble logging in to a Next.js app with Auth0? I followed the quickstart guide on the Auth0 website, but I'm encountering an error on the login page. <a href="/api/auth/login">Login</a> This is pages/api/[...auth0].js import ...
i am attempting to retrieve the user_metadata using the useUser hook. Here is my approach. Authentication Action: exports.onExecutePostLogin = async (event, api) => { const namespace = 'https://my-tenant-auth0.com'; api.idToken.setCustomC ...
Auth0 SDK for Angular Single Page Applications - the documentation outlines two methods for logging in: loginWithPopup loginWithRedirect Is there a possibility to add another option for logging in with just an email and password? ...
I seem to be facing some challenges while trying to integrate auth0 into my project. Every time I fix one issue, another one pops up and it's always the same trio of errors: -require is not a function -window is not defined -missing class properties I'v ...
Recently, I integrated the auth0 SDK into my Next.js projects and overall it's been a smooth process. However, I've encountered a minor issue. Every time I change routes while logged in, the /me API is invoked. This leads to the user obtained through the u ...
Currently, I am in the process of developing a full stack React application with Express and Node. I have successfully integrated auth0 for authentication and authorization purposes. However, I have encountered an issue and am seeking suggestions on how to ...
When working on my frontend React application, I decided to use the auth0-js library for authentication purposes. This library provides the WebAuth class which I utilize in my code by creating an instance like so: import { WebAuth } from 'auth0-js&ap ...
I am working on a React and Next JS web application with auth0 for session/cookie-based authentication. I need to programmatically invoke an API from another source, but the only credential I have is an access token. I'm considering two potential solutions ...
Recently, I've been considering incorporating Auth0 for user authentication in my nodejs API. To add to the mix, I'm utilizing a MySQL database for user sign-ins and also want to implement Facebook login functionality. However, I've hit a r ...
After reviewing previous suggestions regarding this issue, such as restarting dynos or ensuring the use of var PORT = process.env.PORT || 3000, I have implemented all of these solutions but my application continues to crash. The app is built using node/exp ...
I am new to coding and currently working on a project using Typescript/NextJS with Auth0 integration. The current setup navigates users to a page with a login button that redirects them to the Auth0 authentication page. However, this extra step is unneces ...
Having developed an Android application with a NodeJS backend, I have implemented a private API endpoint protected by Auth0. The NodeJS code for the private API looks like this: app.get('/api/private', jwtCheck, function(req, res) { res.json({ ...
Currently, I am using a nextjs 12 application and set up auth0 as my authentication provider by following the guidelines provided here: . However, I am now looking to upgrade my application to nextjs 13, but I have not been able to find any documentation o ...
I'm currently working on a React application that utilizes auth0 in conjunction with an express API server. One issue I'm facing is how to access user information within the API when a secure endpoint is called. While I can retrieve user data on the clien ...
Currently, I am using the Angular SDK of Auth0 and everything seems to be functioning correctly except for retrieving the token. At the moment, I am manually obtaining the token from my dashboard. The method in Auth0Service called getAccessTokenSilently i ...
Currently, I am in the process of setting up a code flow with Auth0 as my chosen identity provider. Successfully, the sign-in process functions well and I receive a valid token from Auth0. However, I am encountering an issue when attempting to sign out ...
Exploring the Auth0 documentation reveals guidance on implementing express-jwt middleware to secure endpoints. However, a gap seems to exist in how to actually acquire a valid JWT initially. Regarding Angular development, there are resources available for ...
I am currently in the process of developing a mobile app (using Ionic/Cordova) that will interact with an API built with NodeJS. As I navigate through this project, I find myself contemplating how to implement a user authentication method that serves dual ...
I am trying to load the user's email from Auth0 and store it in a constant. However, I am getting an arrow. I cannot identify the error. Can anyone help me find a solution? const userEmailInfo = async () => { auth0Client = await auth.createClien ...
Currently in the process of setting up a project using React JS and I am interested in incorporating auth0 for authentication purposes, along with potentially integrating some serverless functions. auth0 conveniently offers a pre-made "seed" project at ht ...
During the transition from Firebase to Auth0, my Angular front-end application authenticates users to either Firebase or Auth0 based on their email address. I am working on configuring the Auth0 AuthHttpInterceptor provided in the Auth0 Angular SDK for SPA ...
My React frontend uses Auth0 for user authentication. Once a user is logged in, I retrieve the token using getAccessTokenSilently() and send it to the backend like this: const { user, isAuthenticated, getAccessTokenSilently } = useAuth0() useEffect(() =&g ...
Currently, my setup involves utilizing auth0 and nextJS. My objective is to have the user redirected to the callback API after successfully logging in with their credentials. Here is the snippet of code I am working with: import auth0 from '../../uti ...
Following the instructions in this tutorial, I completed all 5 steps and launched the server only to encounter the following error: Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) ...
After creating a front end with vite using vanilla javascript and setting up a backend with node.js express routes, I successfully integrated swagger for testing purposes. I have managed to enable functionalities such as logging in, logging out, and securi ...