Need a smaller alternative to GUID for DB ID but still unique and random for URL

I have looked all of the place for this and I can't seem to get a complete answer for this. So if the answer does already exist on stackoverflow then I apologize in advance. I want a unique and...

Python login to email server authentication error

I am on a Linux machine. My company has an email exchange server which is already configured. I am using a Python script to try to login to the email server so that I can send an email...

Apache: Could not initialize random number generator

I'm really frustrated, my apache server doesn't start, my error.log is this: [Fri Jul 26 16:26:20.211050 2013] [core:notice] [pid 32240:tid 268] AH00094: Command line:...

Difference between the "Resource Owner Password Flow" and the "Client Credentials Flow"

The difference between the "Resource Owner Password Flow" and the "Client Credentials Flow" seems unclear to me. The former seems to forward the password credentials to the server for...

LibGit2Sharp: Fetching fails with "Too many redirects or authentication replays"

Here's the code I'm using to fetch: public static void GitFetch() { var creds = new UsernamePasswordCredentials() {Username = "user", Password = "pass"}; ...

How to inject dependencis into WCF Attribute with Simple Injector

I have a bunch of WCF services that works with REST and SOAP. I have created an WCF attribute who checks if the current httpcontext exists, if exists it use cookie authentication, other way it use...

Android - Signing-in with AWS is suddenly incredibly slow

I'm making an Android app that uses AWS Cognito to sign users in. I based the sign-in flow off of the sample app/Cognito YourUserPools samples on AWS' github and tweaked it and it's been working...

401 JWT Token not found

I provided two versions of the security.yaml file. The second version according to API Platform documentation. API Platform sends to the creation a custom user provider. For the second option...

kubectl error You must be logged in to the server (Unauthorized) when accessing EKS cluster

I have been trying to follow the getting started guide to EKS. When I tried to call kubectl get service I got the message: error: You must be logged in to the server (Unauthorized) Here is what I...

Spring Data MongoDB XML Configuration failed to Authenticate against Mongo-database

Currently, I am facing a problem with Spring authentication with MongoDB. I have the following declaration in my Spring XML configuration file: Spring Boot Importing of Spring XML file: I am...

Face authentication to unlock my app programmatically

I am developing an android app which uses fingerprint/face recognition for unlocking the app. I have successfully integrated fingerprint authentication using BiometricPrompt. But didn't know where...

Checkout from Gitlab is getting fail in Jenkins pipeline

I have read lots of documentation but not able to fix this issue. I used below code for checkout from gitlab in jenkinfile checkout changelog: true, poll: true, scm: [ $class: 'GitSCM', ...

JWT Token not found 401 error when trying to access my api plateform?

I am facing a small problem I don't really know how to fix, I tried some solutions that I will mention later but still got nothing, it is an authentication problem, when trying to make my User...

Proxying multiple create-react-app static folders with Nginx

I have a nginx hosted on a VM with an authentication service that expose a simple login page and some other services hosted onto a secondary VM (create-react-app builds served through serve -s...

How to close all open forms/reports etc. when a button is pressed to log out?

I'm making a database for an assignment. When you log in it checks whether the user is an admin. An admin has access to different forms. My logout button opens up the login form and they can't do...

Unable to use self-signed certificate that imported to ACM

I have created and imported self-signed certificate to amazon certificate manager. On acm console, it looks successfully imported. I want to use this sertificate to aws client VPN endpoint. At...

Terraform Cloud / Enterprise - How to use AWS Assume Roles

I would like to use AWS Assume Roles, with Terraform Cloud / Enterprise In Terraform Open Source, you would typically just do an Assume Role, leveraging the .aws/Credential Profile on the CLI,...

Authenticate and use Firebase in non-interactive environments

I work with Android mobile application, where source code is maintained in Azure. I want to automate the build process and upload the .apk file in Firebase App Distribution, as per the...

How to use Spring Security 5 and OAuth2 Client to get refresh tokens and make API calls?

I'm currently building a Spring Boot App with Spring Security + OAUth2 protocol. Here is the Authorization Guide from Spotify I'm following I'm having trouble understanding how to do steps 2 - 4...

TD Ameritrade API Get Positions

I'm testing out the TD Ameritrade API. I'm attempting to retrieve a given user's positions (open and closed). I'm successfully authenticating and retrieving my accountId from a front-end+server...

Sending file to API with http client

I'm working on sending a file to an api endpoint that is giving me the following curl example to post. curl -X POST -H "Authorization: ACCESS_TOKEN" -H "Content-Type: multipart/form-data" -F...

WSO2 Identity Server X509 Authentication Behind Proxy

I'm using WSO2 Identity Server 5.10. I need to add support for X509 Authentication and I was reading the documentation about the X509 Certificate Authentication here In order to add the...

Error creating a connection to Postgresql while preparing konga database

After installing Konga, we are trying to prepare Konga database on the already running Postgresql database. by using suggested command i.e. node ./bin/konga.js prepare --adapter postgres --uri...

How can I download a binary file using Python and WinHTTPRequest?

I need to download a bunch of pdf files from the web. I usually use the urllib3 library, but it is a corporate website with authentication. I can download a normal html web using the...

Using yq to edit yaml files (--in-place, -i flag)

I'm having a big problem with the edit in place flag for yq version 2.12.0. We are trying to update a value for a variable in one of our .yaml scripts. The before looks like...

Passport-SAML. How to avoid calling getSamlOptions after authentication on external IdP?

Try to setup Passport-SAML on my project. Here is an code example export const samlFederationAuthentication = () => { const multiSamlStrategy: MultiSamlStrategy = new MultiSamlStrategy( { ...

Set up Google Cloud Platform (GCP) authentication for Terraform Cloud

How do I configure Terraform Cloud to authenticate with Google Cloud Platform (GCP)? Right now, my configuration is looking like this: provider "google" { project = "my-project-id" region =...

Getting error 401 Unauthorised: Missing bearer authentication in header

API Documentation This is the documentation for the available API endpoints, which are built around the REST architecture. All the API endpoints will return a JSON response with the standard HTTP...

ssh server in go : how to offer public key types different than rsa?

I’m trying to create a ssh server in go using the x/crypto/ssh module but i can’t manage to make the public key authentification work. I tried the ExampleNewServerConn() function in the...

Unauthorized (Invalid Token) when authenticating with JWT Bearer Token after update to .NET 6

After updating the package Microsoft.AspNetCore.Authentication.JwtBearer from version 3.1.14 to 6.0.1, requests with authentication fail with 401 Unauthorized "invalid token". What needs to be...