Skip to main content

Questions tagged [token]

A token is a string of characters, categorized according to the rules as a symbol (e.g., IDENTIFIER, NUMBER, COMMA). The process of forming tokens from an input stream of characters is called tokenization, and the lexer categorizes them according to a symbol type. A token can look like anything that is useful for processing an input text stream or text file.

0 votes
1 answer
15 views

Syntax on accessing authorization header of an API request in node

const authHeader = req.headers["authorization"]; Apologies if this question may seem basic, but I am curious why we use ["authorization"] and not just .authorization I did some ...
Taran's user avatar
  • 1
0 votes
0 answers
9 views

I'm making a program to prevent discord token theft

I'm making a program to prevent discord token theft. And I have a question, how do all these viruses get the discord token from the discord application? What files do they download it from and how do ...
Filip G's user avatar
0 votes
0 answers
15 views

How to Create a Token Using Django REST Framework?

I am trying to implement token-based authentication in my Django project using Django REST Framework, but I am unsure of the steps required to create and manage tokens. I Installed Django REST ...
bouyal's user avatar
  • 1
-1 votes
0 answers
9 views

What is the industry standard for session management on mobile?

I've been struggling to find an answer to this for a couple of days now, but I am trying to implement sessions in a mobile app. Most apps today (Amazon, Reddit, etc.) don't prompt you to sign in ...
darkshadowtrail's user avatar
0 votes
0 answers
18 views

Keycloak group roles not showing in JWT

I need showing the group roles in Keycloak Token. I created a group in Keycloak and mapped some functions. I associated a user with the group. I generated the token and in JWT not showing the group ...
Bruno Papa's user avatar
0 votes
0 answers
39 views

How to generate token access Power BI

enter image description here I am using oauth to generate bear token. The generated token is including the "https://analysis.windows.net/powerbi/api" enter image description here But it ...
郑驰骋's user avatar
0 votes
0 answers
17 views

ID Token in MSAL User Token Cache Is Missing Custom Claims Present In Token from AcquireInteractiveToken

I am using PublicClientApplicationBuilder to add Microsoft Azure AD B2C to a desktop application. We are extending an existing Identity Experience Framework custom policy already in use for a website ...
CreganTur's user avatar
1 vote
0 answers
35 views

Having an issue when fetching from JS to PHP

it goes to the fetch part and instantly throws back the error index.php file: <?php session_start(); use GuzzleHttp\Client; require 'vendor/autoload.php'; header('Content-Type: application/json')...
Software Engineer's user avatar
0 votes
0 answers
20 views

Cannot Create Token ID from Transaction with REST API on CyberSource

I'm having difficulty generating a token ID from the Transaction section on CyberSource sandbox environment via the REST API. On CyberSource's UI, I can create it through CyberSorce's documentation. ...
3488 Thái Thanh Tuấn's user avatar
0 votes
0 answers
27 views

Twitter API v2 Authentication Error: 401 Unauthorized Despite Correct Keys & Tokens

I am trying to access the Twitter API v2 both through the API directly on Postman and Tweepy in Python on macOS, but I keep encountering a 401 Unauthorized error. Despite using what I believe to be ...
Diya Girish Kumar's user avatar
0 votes
1 answer
56 views

Not working middleware tests (maybe my middleware were bad)

It my first middleware to verify tokens. It looks like this: using System.IdentityModel.Tokens.Jwt; using baio_api.Infrastructure.Services.Interfaces; using Microsoft.Extensions.Logging; namespace ...
Yardi's user avatar
  • 453
0 votes
0 answers
13 views

NextAuth Middleware Failing to Retrieve Token in Production

I'm using NextAuth in a Next.js application with a custom credentials provider. Everything works perfectly on my local development environment, but in production (deployed on Vercel), the middleware ...
Aditya Salve's user avatar
-1 votes
0 answers
13 views

Whatsapp token for personal user (no business)

I'd like to send messages in wtahsapp via service (java program), and I know that exists Whatsapp business API that enables me to send messages using a token. Once obtained, if I convert again my ...
AndreaTaroni86's user avatar
-1 votes
0 answers
17 views

What Other Decimal Smart Contracts Vuln In Web3 Wallets Are Out There?

What if you put a different decimal like 1, 2, 80000, 16000 or higher decimal.... how will smart contract tokens react in the Web3 Wallet after importation? Are they any Smart Contracts Web3 wallet ...
Tether Usdt's user avatar
0 votes
1 answer
33 views

How I can create a token.json using google drive api Python

I am trying to create a token.json file to save data without having to log in every time to approve an account This is a code that deletes 100 files at the same time. Every time I run a code, I must ...
mr king's user avatar

15 30 50 per page
1
2 3 4 5
516