Category "oauth-2.0"

Does an OAuth Consumer validate a bearer token with the OAuth provider on each request

To learn more about OAuth, I'm trying to write an OAuth 2.0 provider and also a consumer. I'm kind of using the Doorkeeper Gem as a reference for my provider, b

What does the term "Backchannel Request" means and how to make backchannel requests

To be more specific: I'm actually trying to integrate to Baseacamp using their new Basecamp api which supports OAuth 2.0. and thx to their poor resources &

Google Oauth "Service Account", how to refresh token?

I am using Oauth to access Google Cloud Storage via their JSON API. All is fine, I authenticate and get an access token which has an expiration of 3600. What

How do I implement authentication and authorization for my employees in asp.net web app?

I am developing a web app for my employees to manage some critical admin pages. What type of identity and access management I can use? how do I implement Authen

Spring Oauth2 JDBC Client configuration add same client multiple times

I am configuring an OAuth2 authorization server in a Spring project. Here is configuration. @Override public void configure(ClientDetailsServiceConfigurer cl

How to give restricted access of specific cloud function to third party

I have made a set of Cloud Functions and secured them by checking auth header like below if (!context.auth) return { status: "error", code: 401, message

"Full authentication is required to access this resource" on spring oauth2 authorization server on /oauth/token request

I'm trying to create a page that will hold some user data that may be accessed through some client webpage. That brought me to oauth2 (authorization code) and S

JWT "invalid_grant" in Signature in Google OAuth2

I am writing some code to try to get a token to use from Google in OAuth2. This is for a service account, so the instructions are here: https://developers.goo

Salesforce OAuth User Agent Flow: obtain refresh token with

I am developing a web application that allows any user to connect with its Salesforce account. I've implemented User-Agent Flow and I obtain correctly access_to

AWS Cognito; unauthorized_client error when hitting /oauth2/token

Steps taken so far: Set up new user pool in cognito Generate an app client with no secret; let's call its id user_pool_client_id Under the user pool client set

AWS Cognito; unauthorized_client error when hitting /oauth2/token

Steps taken so far: Set up new user pool in cognito Generate an app client with no secret; let's call its id user_pool_client_id Under the user pool client set

Java - OAuth 2 using restTemplate to get login with refresh token (StackOverFlowError)

I created an interceptor to get the token before i do other request but i have the error "Method threw 'java.lang.StackOverflowError' exception." when i do the

ASP.NET Web API Google OAuth keep return "Access Denied"

I need to integrate my ASP.NET Web API with Google and Facebook OAuth. I was following all the steps from https://bitoftech.net/2014/08/11/asp-net-web-api-2-ext

oauth-private.key does not exist or is not readable

So, I imported another project from Bitbucket and tried to launch it using php artisan serve, I always get this error: [LogicException]

how to config apache jmeter 2.6 oauth 2.0

I need to perform tests using jmeter for an oauth 2.0 secured API. I have found the following plugin http://code.google.com/p/jmeter-oauth/ I managed to succ

How to convert guild.permissions number into an array of persmissions discord.js oauth2

I need to verify if a user logging into the website has sufficient permissions to modify my bot's behavior on a guild. I used passport-discord to get informatio

Change the preferred_username in token for client credential grant flow

I am using the Keycloak for one of our product. And we are using the client credentials grant flow to get the access token for service to service communication.

How do I validate a JWT using JwtSecurityTokenHandler and a JWKS endpoint?

I am prototyping the use of IdentityServer4 to secure several services, with the caveat that those services will likely not be migrated (in the forseeable futur

Spring Security: How to use a UserDetailsService with JwtAuthenticationProvider?

I have a REST service, written using Spring MVC. The server is an OAuth2 resource server and I am using the JwtAuthenticationProvider to have the JWT parsed and

Modern Oauth2 authentication for sending mails using Nodemailer nodejs

I am using nodemailer to send email in my nodejs application. var payload = { auth: { user: smtpuser, pass: smt