Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
47 views

I have been successfully reading the logged in OIDC authentication scheme from IAuthenticateResultFeature when using OIDC. I need to know this scheme to perform sign out. This is for an ASP.NET Core 8 ...
Eric's user avatar
  • 2,420
1 vote
1 answer
90 views

I am using jwt_tool (https://github.com/ticarpi/jwt_tool) and I want to make changes in the payload. But the problem here is that the value I want change is on second level if I may say that. here is ...
Danail Lesev's user avatar
1 vote
0 answers
51 views

I'm getting errors in the JS client (404), and an error on the server which states that it's probably a 404.15, which is query string too long). Now, as far as I can ascertain, when using SignalR, the ...
fpdave100's user avatar
0 votes
0 answers
186 views

I'm trying to use .netrc file to authenticate access to a service, but I can't make it use Bearer authentication type! I can access the service without .netrc with the following command: curl --header ...
Mohamed Abdelaal's user avatar
0 votes
1 answer
213 views

I'm a business analyst working on integrating one of our applications with WSO2 Identity Server to enable Single Sign-On (sso) using OAuth 2.0. While configuring the SSO flow, I used the following ...
Zayneb CHEOUR's user avatar
1 vote
1 answer
94 views

The following command successfully downloads an artifact file from a GitHub workflow run: curl -L -H "Authorization: Bearer ghp_XXXX" -o arti.zip \ https://api.github.com/repos/OWNER/...
Thierry Lelegard's user avatar
0 votes
1 answer
116 views

I am building an authentication using name, username and password and wants to use access and refresh token for the authorization. To keep the user safe i come to know about an approach where you ...
Arjit Khare's user avatar
0 votes
2 answers
173 views

I already have found other similar issues on Stack Overflow, but still have issue to retrieving the embed token in Node.js, with the message: 2025-03-07T08:31:35.098660921Z Error: Failed to get embed ...
Giacomo Brunetta's user avatar
0 votes
0 answers
81 views

I am working on an Express.js application where I use JWT for authentication. My authentication and verification setup works fine in Postman, but when I try to make requests from my frontend, I get ...
Lance-Legrand NGANDO-DAVID's user avatar
1 vote
1 answer
210 views

I've created a Microsoft Teams workflow to post a message when webhook request is received, following this documentation. The generated workflow URL contains a sig parameter that acts as an embedded ...
Tao Gómez Gil's user avatar
0 votes
1 answer
50 views

On line Dim responseBody = client.DownloadString(searchUrl) I am getting an 401 unauthorized error. I read the API @ https://api.speechanddebate.org and used the sessions function to get a token ...
Jason Shoulders's user avatar
0 votes
1 answer
222 views

I am working on sending push notifications from my Flutter app to Firebase Cloud Messaging (FCM) devices using Dart. To send notifications via FCM, I need to authenticate my request using a Bearer ...
Hemal Ramani's user avatar
0 votes
1 answer
151 views

I have this controller: @GetMapping("/daily") @PreAuthorize("hasRole('BASIC')") public ResponseEntity<TransitsResponse> dailyT( @RequestHeader(value = ...
Nunyet Calçada's user avatar
0 votes
0 answers
100 views

I am developing an angular application in which I have integrated EntraID app for authentication and used the MsalInterceptor and configured the required providers as follows: providers: [ { ...
Jana's user avatar
  • 151
0 votes
1 answer
579 views

I am performing POST to https://{{datacloud-domain}}/api/v1/ingest/sources/{{connector}}/{{table}} but I receive 401 Unauthorized I am using correct Bearer token authorization. Using Data Cloud token (...
Patlatus's user avatar
  • 1,681
0 votes
0 answers
24 views

jwtmod not working to make user authenticate before consuming any API. Here is my authenticated.js file: import jwtmod from "jsonwebtoken"; export default async (req, res, next) => {...
harry cr7's user avatar
0 votes
0 answers
231 views

I've already written a couple of applications for REST calls which are authenticated by OAuth2 and therefor I had to register the application to get the client_id and client_secret in order to request ...
Achim Schön's user avatar
1 vote
0 answers
92 views

I'm developing an Api with Laravel 11 using Sanctum as the authentication method. I've set the token expiration to 7 days and I'd like the client to receive a 401 response 'Token invalid or expired' ...
MigSy's user avatar
  • 11
0 votes
1 answer
902 views

I have an App Registration in Entra with permissions granted to call another App Registration from same Entra. When I use client secret to get a bearer token via http for grant_type=client_credentials ...
Ivan Koshelev's user avatar
3 votes
1 answer
237 views

I am using Ktor Client (version 3.0.0) in my Kotlin application and have configured it to use the Bearer Token authorization mechanism. I understand that Ktor automatically attempts to refresh the ...
Ali Bagherifam's user avatar
2 votes
1 answer
162 views

I have the following ASP.NET Core (.NET 7) SignalR test hub: public class TestHub : Hub { public async Task<string> GetToken() { return await Task.FromResult("testtoken"...
Ray's user avatar
  • 9,007
0 votes
2 answers
709 views

The goal I'm trying to make a simple HTTP Post request to an e-payment processing API, and their specifications require me to add a Bearer token to the payload. I.e., rest_request.AddHeader("...
h31mdallr's user avatar
0 votes
0 answers
154 views

I am currently experiencing an issue with my Laravel API on a cPanel-hosted environment. When making API requests from Postman with a Bearer token in the Authorization header, the token is not being ...
Mahesh's user avatar
  • 11
0 votes
1 answer
70 views

I implemented the Symmetric encryption of access token using Android KeyStore, but where I must do encryption process Repository class where I receive data from Remote. View Model class after passing ...
Dnveeraj's user avatar
  • 138
0 votes
1 answer
51 views

We have a method called from back office to validate a bearer JWT token by its string token but I'm getting an error when validating. It's showing this exception: IDX10503: Signature validation failed....
dev mobile's user avatar
0 votes
1 answer
69 views

we have a method that validates token and takes the user from Bearer token, but this method is not authorized, so how we retrieve the User data from string token private static bool ValidateToken(...
dev mobile's user avatar
1 vote
1 answer
1k views

I have a backend server build on Delphi and I use Google FCM push notification service through pure HTTP requests. After Google implemented FCM API HTTP V1, my backend could not send push ...
JRG's user avatar
  • 615
0 votes
1 answer
415 views

I have my angular project working. In step 1, I'm able to login and get the token from my spring boot application. I save this token to localstorage. This request is posible because is not blocked by ...
msabate's user avatar
  • 405
0 votes
1 answer
121 views

I have a Blazor wasm frontend where I can authenticate myself with an App Registration on Azure. I can successfully login and my identity is correct. In other solution, I have a backend with protected ...
thibsc's user avatar
  • 4,111
1 vote
1 answer
205 views

I'm new to Flutter and using the http package for network calls. My goal is to refresh the token and retry the request if the access token has expired. I’ve seen the Dio package mentioned, but it ...
Hao Do Van's user avatar
0 votes
1 answer
102 views

I have different login methods for mobile and web application in .net webapi identity backend. Both clients are using ssame authentication scheme(IdentityConstants.BearerScheme). But I want to change ...
osmanc's user avatar
  • 41
-1 votes
1 answer
54 views

I'm developing .Net WebApi with Identity project and I'm using Bearer Authentication. I have two types of clients. Mobile and Web projects. They need to have different token expiration times. I have ...
osmanc's user avatar
  • 41
0 votes
2 answers
260 views

I am trying to access the Azure APIs, using postman, for example https://management.azure.com/tenants?api-version=2022-12-01 but completely lost with MS documentation. I went through some threads here ...
eliassal's user avatar
  • 439
2 votes
0 answers
74 views

Im attempting to add some custom user access tokens to my Mongoose WS and Im generating an HMAC using OpenSSL lib to verify with. I'm using to all-in-one HMAC function provided by OpenSSL. However, *...
kliam's user avatar
  • 21
0 votes
0 answers
167 views

This question is about connecting to our Salesforce API. After some debugging, it seems that we are getting an error 401 from our Salesforce environment (but not when I run the exact same code using ...
Anna L's user avatar
  • 49
1 vote
1 answer
481 views

I want to create a jwttoken with some claims. Afterward I want to verify this token and get a ClaimsPrincipal object. I use the following libraries: using Microsoft.IdentityModel.Tokens; using System....
Martin's user avatar
  • 61
0 votes
0 answers
49 views

I have a question regarding the security of my application. I’m not an expert, far from it, and I’ve been tinkering for months to make something acceptable, and now I’m nearing the end. I’ve hosted my ...
Moutaz Abdelhadey's user avatar
0 votes
0 answers
44 views

I just created default WebApi project in Visual Studio which uses OWIN for authentication. What is its default user password as I need to get bearer token? I also disabled OWIN from web.config by ...
Frank Martin's user avatar
  • 3,477
0 votes
1 answer
205 views

I have a backend in Asp.net Core that handle authorization with jwt tokens. This backend may interact with differents clients. To some of them (browser, compliant lib... ) it will send a secure ...
pierre.b's user avatar
  • 303
1 vote
1 answer
142 views

I am trying to redirect to a new location and passing the authorization bearer. But it seems that the bearer token is not send. I am doing this in my php code header('Authorization: Bearer ' . $retval)...
Mads Peter Jensen's user avatar
-1 votes
1 answer
719 views

I am using simple jwt for my django rest framework project. I tried accessing using barrier token in postman it shows this error { "detail": "Authorization header must contain two ...
Rohit Gajula's user avatar
0 votes
1 answer
383 views

I already managed to get a bearer token with Az cli, but I would like to find another way. I got a bearer token with a request POST to microsoft oauth2 api, but this token doesn't work. At first, I ...
Titouan Ferdoel's user avatar
-1 votes
2 answers
79 views

I am learning how to use JWT to build a Stateless backend API, This is a dummy learning project. I am using Spring Boot's OAuth 2 resource server. Since I just have a single backend, there is no need ...
theMyth's user avatar
  • 288
0 votes
0 answers
202 views

I am implementing a WebDav server and struggle with adding proper OAuth2 support to allow MS office applications to access files directly. I followed this answer to get the workflow started. Let's say ...
Nico Schertler's user avatar
1 vote
1 answer
60 views

I am using a Google authentication to generate JWT tokens (access token and refresh token), and send it to the client as HttpOnly cookies. On my API currently a JwtBearer is set up, which expecting a ...
xarielah's user avatar
  • 583
1 vote
1 answer
126 views

I cannot figure how to use @attribute [Authorize] in razor component with Bearer token authentication. When I decorate API controller with [Authorize] and attach bearer token to header, its working ...
Marek Havrila's user avatar
1 vote
1 answer
2k views

I am trying to test that my .RequireAuthorization() are working in my custom minimal api endpoints by creating a JWT token from my CallingApi to the MinApi. In my CallingApi, I am adding the generated ...
ScubaSteve's user avatar
  • 8,380
0 votes
1 answer
51 views

Trying to go from manually testing to automating API tests. Choosen to write the tests in C# and installed the following packages: Nunit, NUnit3TestAdapter, NewtonSoft.Json, Fluent Assertions and ...
HappySoftwareTester's user avatar
0 votes
0 answers
243 views

I am creating a blazor web app is using microsoft examples for authentication. Authentication works great, both with a username/password and with 3rd party (google) auth. I also have a maui native app ...
Ryan Langton's user avatar
  • 6,180
0 votes
1 answer
509 views

I'm trying to secure a Serverless NodeJS Function App as mentioned in this example: https://docs.cloudera.com/dataflow/cloud/azure-functions/topics/cdf-azure-function-secure-app.html I set the ...
Ricardo Henrique Comar's user avatar

1
2 3 4 5
30