password authentication failed for user "postgres" on mac

I have problem creating new psql user because I cannot log in psql as "postgres", I have tried 1. sudo -u postgres psql 2. sudo -u postgres createuser img_site -P -s -e and they are all ask for...

add user to mongodb via python

I want to be able to add users to MongoDB so that we can automate MongoDB installs with authentication already baked in. I can successfully add users using pymongo that are read only or are...

Authentication failed on the git remote

I'm trying to push, pull, whatever to my Github repository from VSCode. I enter my username and password but I'm getting the error Authentication failed on the git remote. I just logged in on...

Authorisation in microservices - how to approach domain object or entity level access control using ACL?

I am currently building microservices based system on java Spring Cloud. Some microservices use PostgreSQL and some of them MongoDB. REST and JMS is used for communication. The plan is to use SSO...

curl: (35) Unknown SSL protocol error in connection at first request

im trying to authenticate user via xbox live Oauth2.0, but im experiencing this error which appears only at first request (after that it working for few minutes). Im already tried with --sslv*,...

Java client and Kerberos / SSO - Krb5LoginModule - not re-using tickets

I'm running JMeter which depends on JDK 1.8's Krb5LoginModule. It seems to me that the Krb5LoginModule can't maintain a kerberos session across multiple requests. This results in a HTTP 401 and...

Firebase phone authentication is not working after upload app on playstore

I have no idea why it is happening. My app works fine with debug apk and signed apk. I have added the SHA1 key to firebase console also. But when i uploaded my app and installed it from Play Store...

PgAdmin4 download files

Is there any way to download the backup files saved on the server's file system by pgadmin4 server. The best way I thought was to make the files available through Apache, but this solution has...

Authentication issue with cron job on Ubuntu 18.04

I have a clean install of Ubuntu 18.04 and I'm having trouble getting a cron job to execute a script. Crontab -l contains the following: # Edit this file to introduce tasks to be run by cron. # #...

Connecting using MongoDB Compass

I'm trying to see the contents of a collection using MongoDB Compass. I have username/password authentication set up. I can log in successfully but can't see any documents in the collection....

Firebase phone authentication using nodejs

I looked over the documentation of firebase but I couldn't get any answer of verifying user identity by phone on the server side. All what I found was the FIREBASEUI or the client side...

Is it possible to add Authentication to access to NestJS' Swagger Explorer

I'm currently using Swagger in my NestJS project, and I have the explorer enabled: in main.js const options = new DocumentBuilder() .setTitle('My App') .setSchemes('https') ...

Method Illuminate\Database\Eloquent\Collection::links does not exist

I created a model relationship between User and Message. I want to implement a list of messages for the authenticated user but I get the following error. Method...

How to upload to google drive with python without authentication?

I want to upload files to Google Drive with Google Script and Python. I don't want to do this with API because it's with JSON file and requesting a password to google account. I want to send from...

Expected spy navigate to have been called with [ [ '/ProjectData/MasterSequence' ] ] but it was never called

I am writing Unit Test cases for a function in Angular7 template . It is a login component and the login function has router.navigate inside the http request, to route to the dashboard on correct...

414 - The requested uri is too long - the url is 70 characters long

I tried to make a authentication with C#. It sends a HTTP GET request on login attempt, it looks like: https://example.com/clogin.php?name=abc&password=abc And this is only a few characters. But I...

Laravel bearer token authentication

I want to make authentication for API requests coming from mobile users. I followed this and made api_key column inside users table. I also created middleware: public function handle($request,...

Firebase auth.currentUser is null when loading the page, user loaded when authstatechange called after some milli seconds of page load

I am using React with Firebase to develop a small web app. To take care of authentication, I am using context API and inside context I am adding loggedin user details. AuthProvider.tsx const...

How to add google authentication to vue.js using typescript and component-style syntax

I am trying to add google authentication to my vue.js front end. This is a new project created through the CLI with typescript and component style syntax enabled (along with others) and also has a...

Spring Boot Application not redirecting to Keycloak hosted on different server

I have created a simple application which is authenticated by Keycloak server. I have tested the application and Keycloak server on same machine and the application runs fine and redirects me to...

Laravel requesting route and checking if user is logged in via ajax

I'm using Laravel version 7.11.0 and this is the scenario User logs into his account User doesn't do anything on the webpage for a while so his session expires The user hits a button on my...

Authenticating Vault inside a script in your container

This is clearly a dumb question as I can't find the answer but I'm confused about Hashicorp Vault and the way you get the secrets. Part of the idea of Vault is that you can store your secrets in...

Why is django allauth redirecting to /accounts/login/?=next/MY_PAGE instead of logging in?

I am attempting to handle user authentication on a site using Django allauth. However, upon entering a username and password and clicking "log in" on my site, I am redirected to...

"Error 403: access_denied" from Google authentication web api despite google account being owner

I'm using the default code provided from google here, and I don't quite understand why its not working. The code outputs the prompt Please visit this URL to authorize this application: [google...

Heroku Multi-Factor Authentication Your identity couldn't be verified

Got stuck at - Heroku: Two-Factor Authentication: Your identity couldn't be verified. please let me know how can access my account or bypass the 2FA. I'm not logged in any other devices. Found no...

react native facebook login using expo client: The App_id in the input_token did not match the Viewing App

I am using expo-facebook to integrate a Facebook login using expo and firebase. Everything looks to be working and I log into Facebook but get an OAuthException once I authenticate using Facebook...

Verify users on my app with Amazon Account Linking

How can I verify that a user that has logged in with Amazon or Google on a cloud service is the same user as the one I've on my application? Scenario: I've a website were the user has an account....

Authenticating .net console applications with .net core web API

I have a .net core 3.1 web API ,which was built with JWT authentication and it is integrated with Angular UI and it working as expected. following is my JWT authentication...

Git authentication with GitHub fails, remote: No anonymous write access

I am unable to authenticate with GitHub using Git, the following error appears: remote: remote: No anonymous write access. fatal: Authentication failed for ...

Fix for "fatal: Authentication failed for"

A lot of us are currently having the issue where we aren't able to push changes to GitHub anymore and getting a fatal: Authentication failed for error. This has been observed on Linux. This is...