Searching for users across multiple Active Directory domains

I'm using the System.DirectoryServices.AccountManagement to provide user lookup functionality. The business has several region specific AD domains: AMR, EUR, JPN etc. The following works for the...

AttributeError: 'list' object has no attribute 'copy'

I have the following code snippet classifier = NaiveBayesClassifier.train(train_data) #classifier.show_most_informative_features(n=20) results = classifier.classify(test_data) and the error...

Increasing fps & decreasing duration while streaming using VLC

Hello Stackoverflow :3 I have been trying to increase the fps and effectively decreasing the duration while increasing the speed when streaming a video from my hard drive using vlc. I would like...

AuthenticationMethod claim missing after two-factor authentication

I'm using IdentityServer4 with AspNetCore 2 Identity and have setup a user with two-factor authentication using an authenticator app. The authentication all works and I can see an amr claim with...

Sign out identityserver4 with identityserver3 library in mvc client

I have a IdentityServer4 authentication server. I also have an ASP.NET MVC (.Net Framework 4.6) web client. I'm trying to sign out the user,...

How to get the organization (tenant) id from user profile using the Microsoft Graph API

I'm creating an add-in that I to sell using organizational licenses. I have implemented an authentication scheme on the add-in. I'm currently asking for User.Read scope for a sure authenticating...

the first try to firebase cloud functions

I am trying to make my first firebase cloud function. I want to add the value of name field -which is in 'amr' document -inside ahmed document with the field name newName . I made this function...

Custom login UI for IdentityServer 4

I am doing a project that is similar to IdentityServer4.Quickstart.UI, but separate the Login UI and IdentityServer. More specifically, the IdentityServer itself will be a pure WebApi and the...

IdentityServer4 and ASP.Net Identity: Adding additional claims

I'm trying to use IdentityServer4 with ASP.Net Identity Core providing a user store. I've loosely followed this guide:...

Signing in throws 'Incorrect username or password' error when users log in

I created a Cognito User Pool where users can sign up but can no longer sign in. I have attempted many different configurations, such as disabling MFA, turning off remembering of devices as I saw...

Handling audio file intent in react native

Can somebody help me in receiving audio file intent in react-native, I want when android user share a call recording file(.amr) with my react-native app i can access that file and store to a...

Why doesn't "AutomaticRedirectAfterSignOut = true;" work for redirecting "post-logout" in the following context?

The main application is a ASP.NET Core 2.2 Web Application using Razor Pages. User accesses the application URL & gets redirected to IdentityServer4 login screen User successfully login User...

(Background on this error at: http://sqlalche.me/e/e3q8) python, sqlAlchemy

I am trying to push my XLSM file to MySQL phpadmin using pandas. Here is my full code of what i have attempted so far. from sqlalchemy import create_engine import pandas as pd import os import...

sqlalchemy.exc.ProgrammingError: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version

I am trying to turn a pandas DataFrame into a SQL update statement and this is my problem part............... values = tuple(zip(*filtered_data[['site_code']].values.tolist()))[0] query =...

Why does the amr field of the JWT token returned by MSAL sometimes have wia or mfa?

I have an app that is authenticating to the MS Graph in an Azure AD tenant and I'm using MSAL to call acquireTokenSilent. Sometimes my app receives a JWT access token with the amr field containing...

Ask About this Error : Type Error: Can't mix string and bytes in path components

enter image description hereI make Download GUI Program with PyQt5 that download video from youtube, I use pafy modules in my code , the problem is when i Convert the script to exe file the gui...

stuck at ld: cannot find -llua

I'm trying to compile some sources with Dev-Cpp v2 but the compiler stucked at cannot find -llua also here's my Linker -llua -llibxml2 -lwsock32 -llibboost_thread-mgw-mt-1_33_1 -lgmp i tried to...

Migration from .net core 2.2 to 3.0 => Authorization is executed before Authenticaton

A few days ago i decided to migrate my application from .net core 2.2 to .net core 3.0 The issue i am facing is that despite ordering the app.Use.. in the right order following the official...

First row as column names in C# Export to Excel File

I've written a small application that takes my SQL query and outputs the data to an excel file and emails it to myself. Everything works wonderfully except that I am not getting the first row as...

.NET Core 3.1 IdentityServer4: getting invalid access token when using Resource Owner Password Credentials grant

I'm trying to get an access token from Identity Provider using Resource Owner Password Credentials grant type. The same configuration worked for .NET Core 2.2, but it doesn't work anymore for .NET...

Can Google Chrome record an audio file for Google Cloud Speech-to-Text without changing the media type or encoding?

My app records an audiofile from the microphone in the browser, typically Chrome; sends it to Firebase Storage; then a Firebase Cloud Function sends the audiofile to Google Cloud Speech-to-Text....

Playing audio files in unsupported codecs through <audio> tag

I've an Electron app where I need to allow the user to play audio files that are in unsupported codecs like CAF/AMR/etc. and also let them control playback (play/pause, seek etc.). The <audio> tag...

IdentityServer4 client for Password Flow not including TestUser claims in access token

I'm trying to create a sandbox application, using the (legacy) Resource Owner Password flow in IdentityServer4. I've set up a brand new ASP.NET Core 3 project with these...

'lite-server' is not recognized as an internal or external command, operable program or batch file

I'm having this error during running the following command on Windows 10. npm run dev I'm running lite-server on windows 10, I have tried to solve it using the following commands npm install -g...

How do I change audio language using ffmpeg in video files contaning two or more audio tracks

I am transcoding video files, that contain 2 audio tracks - Polish and English. Unfortunately my transcoder messes somehow with metadata, and at the output, when I'm checking video file using...

How to deploy npm project to gh-pages

I'm trying to deploy a website to gh-pages using npm. I'm using blain HTML and CSS and asynchronous javascript. I haven't used any SPA framework (react or angular). I'm currently using lite server...

java.lang.IllegalStateException: Function not found androidx.compose.internal.restartableFunctionInstance

When I'am trying to run the app I getting the following error "java.lang.IllegalStateException: Function not found androidx.compose.internal.restartableFunctionInstance" and the following...

Error exporting tkinter python app using pyinstaller?

I'm trying to export my tkinter app as a standalone executable file using pyinstaller. Im using autpy-to-exe GUI to run it. and the command is as follows pyinstaller --noconfirm --onedir...

Authentication has been denied for this request

I have created this identity server 4 project which works locally on my machine and also works when I deploy it to an internal server (production) in my company. Now I am facing an issue which is...

Read text file from Firebase Storage in python

I am trying to read a file from Firebase storage under the sub-folder called Transcripts. When I try to read a text file which is in the root folder it works perfectly. However, it fails to read...