Skip to main content

All Questions

Tagged with
0 votes
0 answers
108 views

Iron-Session in Next.js 14: Session Not Updating After Refresh Token Flow

I'm using Iron-Session in a Next.js application to manage user sessions. The problem arises when I attempt to refresh the access token after it expires (HTTP 401 Unauthorized error). Here’s the ...
The Gentelmen 24's user avatar
0 votes
0 answers
55 views

Access token handling in Next.js

I am trying to implement an authentication system in my project Frontend is using Next.js and I have a node server on the backend but I cannot understand how I can implement a session for the user ...
rahulc0dy's user avatar
0 votes
0 answers
93 views

Unable to get access token from myanimelist.net

node.js code router.post('/accessToken', async (req, res) => {debugger const { client_id,client_secret , grant_type, code, redirect_uri, code_verifier } = req.body; const basicAuth = Buffer.from(...
Guru Mukesh's user avatar
0 votes
0 answers
60 views

Spotify OAuth 2.0 Authentication

How do I handle OAuth 2.0 authentication with Spotify API in a Node.js application? I'm trying to authenticate users via Spotify in my Node.js application using OAuth 2.0. I want to know how to ...
haale noor's user avatar
0 votes
0 answers
56 views

How to pass authorization header via Axios with OAuth token not Bearer token

I am trying to pass an access token header to a REST API server and is not working with Node.js Axios. This command works with curl: curl --location 'https://.../api/get-somedata' --header '...
KenKen's user avatar
  • 71
0 votes
0 answers
59 views

upstox access token nodejs

i need code and genrate to access token upstox SDK using node js but i try lot of time but i cant genrate access token read lot of documentation AI also output give me access token all output this SDK ...
ASHUTOSH Mhatre's user avatar
0 votes
1 answer
163 views

Adonis logout with access token

I have implemented register and login with access token in Adonis. My problem is the logout api call, I cannot figure out how to access token. I tried several approaches: async logout({ auth }: ...
guyaloni's user avatar
  • 5,960
2 votes
0 answers
161 views

Best practice for storing access and refresh tokens

I have an Angular UI with a node.js backend where users authenticate with a third-party API. When the user logs in, an access token and refresh token are returned from the third party, and these are ...
user176504's user avatar
0 votes
1 answer
164 views

NextJs: Error Obtaining eBay OAuth Access Token on Token Exchange Request

I'm working on integrating eBay OAuth into my application for user authentication. I've successfully navigated the first part of the OAuth flow, obtaining an authorization code from eBay after user ...
MSD's user avatar
  • 87
0 votes
1 answer
492 views

My access and refresh token system seems pointless (Node.JS)

I'm trying to implement access and refresh tokens when a user logs into the node.js web server via ajax requests from the web browser. I have it so when they login, it creates a new access and refresh ...
Aran Bins's user avatar
  • 488
0 votes
0 answers
837 views

Troubleshooting "Failed to load resource: the server responded with a status of 500 (Internal Server Error)"

I'm encountering an issue in my web application where I'm receiving the error message "Failed to load resource: the server responded with a status of 500 (Internal Server Error)" in the ...
Djamila Azouane's user avatar
0 votes
1 answer
268 views

Trying to get ebay refresh token

I'm building an application that utilizes eBay's Buy API to retrieve information about currently listed products. My issue is that the access token I obtain expires every 2 hours, and I need a refresh ...
Zishan Ali's user avatar
0 votes
1 answer
526 views

How to get GCP Bearer/Access token programmatically in Node.js?

I am using Google Cloud's Vertex API for making a AI app. I am currently working on the feature of getting caption/description for an image using this API. I am using the following function to do the ...
Anurag Dhote's user avatar
0 votes
1 answer
220 views

PowerBI Embed Token using NodeJS unable to Resolve Token Authorization URL

What i am trying to achieve is to embed existing PowerBI report to my Angular Application. To get PowerBI Embed Token, I am using the code as shared in this URL for NODEJS [https://github.com/...
Venki's user avatar
  • 5
0 votes
1 answer
392 views

Not able to generate Access token using Slack API

I am trying to get access token from Slack API, With the below-given code, I get an authorisation URL which has a temporary code in the URL query. After granting the permissions, it is redirected to /...
Nimish's user avatar
  • 45

15 30 50 per page
1
2 3 4 5
12
X