Category "access-token"

[Authorize(Roles="xx") seems no working in asp.net web api

I am working with an ASP.NET web API project (not .NET Core). I want to add [Authorize(Roles="xx") to my controller action. But it seems not working (always 401

JMeter Test case to login over dynamic CRM

We have to migrate the existing visual studio web test over JMeter. Blazemeter we are using to record test case and when we are trying to run it over JMeter, it

Invalid signature while validating Azure ad access token, but id token works

I am getting invalid signature while using jwt.io to validate my azure ad access token. My id token, however, validates just fine! I have seen and tried the so

Azure : How to i get the Refresh Token ? using Curl when the Output of the connection only gives Access Token

I am unable to get Refresh Token using Azure Service Principal (using Client ID & Client Secret) Kindly help me in getting the refresh token via CURL and h

Validate UserIdentityToken with Javascript

How do i use javascript to validate the token from Office.context.mailbox.getUserIdentityTokenAsync(). Are there any javascript libraries for this?

Auth2 implementation for JAVA EWS existing project

I am new to auth2 implementation for Microsoft Exchange service and I want to implement the same in existing process Login Process. Previously we are using User

How to access tokens stored in local storage?

Suppose a user logs into my web app and my web app produces a access token and stores it in local storage in client side. But when user enters into other webpag

Error APNS device token not set before retrieving FCM Token for Sender ID

I am receiving messages from firebase for notifications with APNs. In firebase, I have the certificate of APNs key, with the same id in the Xcode project in Fir

How to use access_token to authenticate SPA with Laravel 5.4

I'm trying to authenticate my single page app (written in Marionette) with my Laravel 5.4 app. In my previous experience, an SPA would: send the username &

Unable to access private repositoryusing github API

I'm unable to pull issues of private repository under my account. I've created personal access token with repo permissions. Using this command to fetch issues :

How to set token in authorization header in flutter Dio post request

I want to set a token in the authorization header on my post request using Dio. I have tried to set the header using two options. And both don't work. The first

Rails authentication strategy

Hope this is not too broad but after a lot of googling I am not sure where to start. I am looking for a introductory/noob overview to help me get started on bui

Sending the bearer token with axios

In my react app i am using axios to perform the REST api requests. But it's unable to send the Authorization header with the request. Here is my code: tokenP