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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

Implementation of the python code for graph api to extract info of a instagram account to 5 instagram accounts

I have implemented the python code to extract the info of a particular account like username, post details using Instagram graph api I wan to implement the same to 5 Instagram accounts which are ...
Vatsalya Upadhyay's user avatar
0 votes
0 answers
12 views

Setup Firebase to validate Google Billing purchase tokens

I don't know the common way but I have the following idea: The client that uses my app sends a purchase token that it recieved after a successful purchase from the google play billing api to my ...
ohshit's user avatar
  • 13
-3 votes
0 answers
24 views

How do I change someone's password if I have twitter access token from cookie? [closed]

Assuming in the next world, you are able to get twitter auth token from cookie. How are you going to use it? Especially changing someone's password. I haven't tried anything yet. How do I change ...
Mac Joe's user avatar
0 votes
1 answer
15 views

discord authorization token is not working properly

my discord authorization token stopped working even though i'm generating a new token to check. but it keep showing improper token has been passed. I did check with someone account token , still ...
crypto master's user avatar
0 votes
0 answers
32 views

Prevent abuse of an PHP Joomla controller

I had a request from a client who wants a quotation form on their website. Their website is build / running on top of Joomla 3 and the forms are build with RSForm. The form contains an postal / ZIP ...
Martijn van Sliedregt's user avatar
0 votes
2 answers
38 views

Logout from Multiple Browsers after changing the password in JavaScript

I've a website where user is logged in multiple browsers like; Firefox and Chrome. I want to implement a functionality when user changed the password in Firefox, then in Chrome, it too should be ...
Virat Singh's user avatar
0 votes
1 answer
24 views

GitLab: personal impersonation token (PAT) does not work for my bot user

I have created a special "bot" user for integration with Redmine. The idea is to add this user as "reporter" to some projects / groups as "reporter" to give Redmine ...
Gabriel Devillers's user avatar
-1 votes
0 answers
8 views

Okta Token end point is returning 401 error

I have enabled PKCE in Okta for web application and started using the credentials in my angular SPA. this was returing an error as invalid client details and adding the cleint secret in the ...
K Yugandhar Reddy's user avatar
0 votes
0 answers
27 views

Facebook graph api automatic graph api access token generator

this i was trying and have written this to my actual code but not able to retrive any token please correct this i want to able to get a acess token generator with a frsh code to this as Trying to ...
Vatsalya Upadhyay's user avatar
0 votes
0 answers
18 views

3 bison shift/reduce conflicts

I am getting 3 shift/reduce conflicts for this code. Here is my code: %{ #define YYDEBUG 1 #include <stdio.h> int yylex(); extern int yylineno; extern int yyerror (const char *); %} %debug %...
glory's user avatar
  • 1
1 vote
0 answers
122 views

Unable to push changes to my repository (Permission denied. The requested URL returned error: 403)

I am attempting to push changes to a GitHub repo (that I have access to). Upon doing the usual: git add . git commit -m "message" git push origin master I receive an input for username and ...
cambrianColor's user avatar
0 votes
1 answer
33 views

Handling endpoint authentication of Entrea (previous Azure AD) to custom SCIM endpoint

I'm trying to integrate a custom app with Entrea (previously Azure AD) using SCIM to handle deactivation of users, but I need some advise on the security of the connection. Microsoft offers two ways ...
murb's user avatar
  • 1,756
-1 votes
0 answers
52 views

How do I verify JWS Signature using Node JS?

I got a problem with verifying a JWS signature from a third party that I use for payments. I tried many different things and I still cannot verify the token correctly. Here's my code in NodeJS that I ...
Przemysław W's user avatar
0 votes
0 answers
41 views

C# how to acquire OAuth2 Token using WebClient

How to get an OAuth2 access token using WebClient (.NET 3.5)? I have already tried following code, but it fails ("Bad Request" error) using (var client = new WebClient()) { ...
rafastryk's user avatar
0 votes
0 answers
17 views

how to send jwt token across different domain , i cant get my jwt token after deployment

this is my jwt token code and this is login code my frontend is in https://hsc-momento.netlify.app/ backend is in https://hsc-momento-backend.onrender.com how to send jwt token across different ...
HCharchi's user avatar
0 votes
1 answer
25 views

How to mount manually created non-expiring service account token into the pod

Let's say that the token for the service accout is manually created using kubectl apply -f - <<EOF apiVersion: v1 kind: Secret metadata: name: build-robot-secret annotations: kubernetes....
user2713498's user avatar
0 votes
0 answers
18 views

Get Discord Token Using Puppeteer

Trying to get my Discord token using puppeteer. "token returns null" other properties return values. Strange behavior. Any help would be appreciated. await page.evaluate(() => { ...
Medi's user avatar
  • 1
0 votes
0 answers
35 views

Implementing Authorization Code Grant Flow with Microsoft Graph API in Angular and Node.js

I am working on integrating Microsoft Graph API into my Angular application, and I need to implement the Authorization Code Grant Flow for secure authentication. I have my own application login page, ...
Jay Patel's user avatar
  • 266
-1 votes
0 answers
26 views

{SOLANA]I sent tokens to the contract adress

Dears, I would appreciate if you could help me. By mistake I sent a pair of solana tokens (28) to the Solana contract address for the BSC network BNB Smart Chain (BEP20). I have all the background ...
Christian Tolosa's user avatar
-1 votes
0 answers
69 views

How to use a Token 5110 to sign content? [closed]

For a Symfony project (Web application), I need to communicate with a bank through EBICS protocol. For that, they send a USB token from 3SKey which content is a certificate and private key. The USB ...
Abdelmajid Hafidi's user avatar
0 votes
1 answer
126 views

Converting a byte array to a string and converting it back to byte array in same encoding producing different results

I'm generating a random 20 bytes long array and want to convert it to a string, in order to use it as a random token for an API call. However when I convert it back to a byte array (just for testing), ...
Ali Ahmadi's user avatar
0 votes
0 answers
28 views

InfluxDB API token concept

I am using InfluxDB OSS v2 for a small project, but did not quite understand how API tokens and users should be used. Goal Having a setup that follows the least privilege principle. This should ...
Damian Kopp's user avatar
0 votes
0 answers
66 views

Laravel and jwt token . JWTException for unknown reason

I am building a medication warehouse management system. I had encountered the need to use JWT token to apply authentication. My model of the object that should be authenticated: <?php namespace ...
Ahmed Ajajeh's user avatar
0 votes
0 answers
31 views

Is it safe to store supabase session access token in streamlit session state?

I am using supabase authentication system for my streamlit app which is a multipage app. One page is the login and another page display the data of the logged in user. To retrieve the user in the page ...
pacdev's user avatar
  • 551
0 votes
1 answer
83 views

React Failing to get the localStorage init value

Hello everyone im working on a mern app and got curious how to implement the jwt token authentication, it works fine but i got a small problem in my front, the token set successfully on the ...
Oussema Sahbeni's user avatar
0 votes
0 answers
28 views

Compute sign using secure token hit Unknown error -1073741275 using sha256 algo

I tried to sign the certificate using a secure token, but encountered an unknown error -1073741275. This error occurred when I tried to use the SHA256 algorithm. Below is my code: cert = certCol(0) ...
tadaaaa's user avatar
0 votes
1 answer
37 views

Token vue js, jwt

I want to ask, how do I use the token in localstorage to be a token that can be used in all features. This token from localstorage And this token from auth before. and i want use token from ...
Ata Forte's user avatar
0 votes
1 answer
26 views

Questions connecting to swagger endpoint as client from Maven Project

I am working with a Maven Project that uses Spring and is written in Groovy. This project is also a web application that has it's own UI, servers, environments, and authentications. I need this ...
maiah's user avatar
  • 23
0 votes
0 answers
34 views

My Reset password link for my flask web app is not redirecting and updating the password

So I have this function to reset the user password through email, everything works fine (Almost) The email is send with the token and I am able to open the link which redirects me to the page to type ...
Naeim Salib's user avatar
0 votes
2 answers
23 views

how to use props and a user token in one js function?

I am looking for a solution where it is possible to use props and a user token to create a dynamic Dialog window for changing the users meta data (e.g. password). When I click the button in the ...
hanlok's user avatar
  • 9
0 votes
1 answer
81 views

Difference between the claims in Azure AD tokens between localhost and App Service

I'm developing a Blazor Server App intended for internal org use. That includes Azure tenant with Azure AD, app hosted on Azure App Services, app registrations... I'd say nothing extraordinary. I'm ...
Marty's user avatar
  • 412
0 votes
1 answer
37 views

OpenID Connect - Refreshing ID token

I have been implementing OpenID Connect for a native app (which has server component). I'm mimicking the authorization code flow for native apps. And after OIDC flow, the ID token, Accesstoken and ...
Sanath Surya's user avatar
0 votes
0 answers
35 views

Token undefined

I am facing an undefined token issue. I have a local frontend where I verify the login, and when clicking the access button, the client has a token generated and guarantees a GET method that sends ...
Diogo Dias's user avatar
0 votes
0 answers
47 views

Unity Google Play Games plugin v11.01 Authorization code (token) is null

After successfully logging into the account, I am trying to get an authorization token for the backend. But it is constantly empty. Is there some code missing, or maybe it's the sha-1 fingerprints or ...
Nik's user avatar
  • 19
1 vote
0 answers
43 views

Hoppscotch with Keycloak token generation fails: Unable to get hold of the Generated Token during the Authorization with OAUTH2 and Keycloak

I am trying to generate the token using the authorization in Hoppscoth. During the authorization, I redirect the user to my Keycloak auth URL where they can provide a username & password, after ...
BATMAN_2008's user avatar
  • 2,869
0 votes
0 answers
14 views

How do I use TokenObtainPairView to don't return tokens for a class I created myself (inherited from AbstractUser)?

I've created a class that inherits from django's built-in user, which is successful when I want to create a new user by request. But when I access a token using the TokenObtainPairView view, it ...
Joshua's user avatar
  • 1
0 votes
1 answer
47 views

Cannot Get Bearer Token for Azure via Powershell

I am trying to get a bearer token through powershell, but I keep on getting an error that secret is not valid. Invoke-RestMethod : {"error":"invalid_client","error_description&...
lombahdo's user avatar
0 votes
1 answer
88 views

Confusion about Cookie Authentication vs Token Authentication, what is the difference exactly?

I read Token Authentication vs. Cookies and Sessions vs. Token based authentication. I also read How do you use HTTP cookies, sessions, and tokens for web authentication and authorization? and Cookies ...
Qiulang's user avatar
  • 10.6k
0 votes
0 answers
25 views

Microsoft Graph - Authorization for applicable users

I have a site that allows both members of Azure AD and public-non-account users access it; To do this I disabled the default/fallback policty in builder.Services.AddAuthorization However, the downside ...
EyeSeeSharp's user avatar
0 votes
0 answers
67 views

C# WinForms - This causes a endless loop: await publicClientApplication.AcquireTokenInteractive(scopes).ExecuteAsync();

Whole function: public static async Task<SaslMechanismOAuth2> AuthenticateMS365Async(Benutzer user) { if (!user.UseImapM365 && !user.UsePopM365) return null; ...
Fabian Saam's user avatar
0 votes
0 answers
10 views

forward (cookie) token from backend1 to backend2 using Next API routes (app folder)

i'm in a bit of a pickle! I have two backends for my Next project, => one is using is in python with flask and is hosted on heroku at "https://python.example.com/api" (sub domain) => ...
Francis Do Monte's user avatar
-3 votes
0 answers
39 views

Get reCaptcha (v2) token

I try to catch the captcha token generated by Google on this page https://www.vinted.fr/captcha. The problem is the captcha reload automatically the page when he is validated. And when I call the ...
Uxose's user avatar
  • 1
0 votes
0 answers
46 views

pass token from one function to another function in Nodejs

I am having an issue where I can't get to take the token given to me in the getAuthTokenForCCA function to pass the token to the getInventoryFromCCA function without having to hardcode the token I ...
Stella Ezenwoye's user avatar
1 vote
2 answers
52 views

How can i check a validate token jwt

I want to check the validity of a jwt token via rest api call, is there a possibility to do this? (java if possible, because i have a Back-End on Java with spring boot and Front-End on JavaScript with ...
Leonardo Cerchioni's user avatar
0 votes
0 answers
10 views

Key and value must be in retrofit Header

I made an application using Retrofit, but there is a problem without the token does not work. Must use Key and Value (Token). I understand that it is necessary to do it with the help of Header, but ...
3DShnik's user avatar
0 votes
1 answer
75 views

Why OAuth Client Credentials Grant should not include a refresh token in response?

I am using an API Gateway proprietary tool and for registered APPs we can allow them to access a REST resource by using OAuth2 client credentials grant. Of course one can assume the client is ...
fly's user avatar
  • 49
0 votes
0 answers
36 views

Status 401 message Spotify's API

I'm doing a project using the Spotify's API, and after watching and following some examples, I've got a message: Status 401 message unauthorized. This is when I try to use any function from the ...
Angel Panda's user avatar
-1 votes
0 answers
58 views

how to add custom token to metamask using wagmi in react

I'm trying to add custom token to metamask using wagmi in react. I could add custom token in metamask manually or using web3.js but my project is using wagmi. I can't find any docs or solution. if ...
Ryan Yang's user avatar
0 votes
0 answers
13 views

Why do we have two SecurityTokenValidationException classes

There are two types with the same name SecurityTokenValidationException in these namespaces: System.IdentityModel.Tokens Microsoft.IdentityModel.Tokens What are the difference and when should I use ...
Yola's user avatar
  • 18.6k
0 votes
0 answers
35 views

Nextjs13 client side data fetching

I am a learning Nextjs and for my app I am using nodejs for backend and nextjs for frontend. After the user log in to the account I need to store the token. The protected routes needs token to fetch ...
learner's user avatar

1
2 3 4 5
153