Questions tagged [authenticator]
131 questions
16
votes
2 answers
Java Authenticator on a per connection basis?
I'm building an Eclipse plugin that talks to a REST interface which uses Basic Authentication. When the authentication fails I would like to popup my plugin's settings dialog and retry. Normally I could use the static Authenticator.setDefault() to…

Martijn Laarman
- 13,476
- 44
- 63
15
votes
4 answers
Can Java's 'single sign-on' (use credentials from 'Credential Manager') on Windows be disabled?
Oracle's "Http Authentication" page from the Java SE 6 documentation says that "if you are running on a Windows machine as a domain user, or, you are running on a Linux or Solaris machine that has already issued the kinit command and got the…

MarnixKlooster ReinstateMonica
- 9,640
- 14
- 54
- 108
14
votes
5 answers
How does a Guest User reset their MS Authenticator MFA settings in Azure Active Directory?
I know how to reset my Authenticator app MFA settings in my host tenant. I woud use this link https://account.activedirectory.windowsazure.com/proofup.aspx?proofup=1 per instructions found here…

successhawk
- 3,071
- 3
- 28
- 44
11
votes
1 answer
Okhttp 3.x dynamically add/remove authenticator / interceptor
Is it possible to add/remove Authenticators and/or Interceptors to an existing Okhttp instance? If yes, how?

Marco Romano
- 1,169
- 7
- 24
10
votes
3 answers
java API for google Authenticator
I wanna add two factor authentication using Google Authenticator and was wondering if google provides with java api's. I tried searching for it but din't find any.
Can anyone point me to the java api if there are any.
If not how can i go about using…

user2437940
- 111
- 1
- 1
- 4
6
votes
2 answers
OKHttp Authenticator not working with Retrofit suspend fun
I recently updated Retrofit to 2.7.0 and OKHttp to 3.14.4 to take advantage of suspend fun on Retrofit interfaces.
Besides that, I'm also trying to implement Authenticator for the refresh token logic.
This is the retrofit interface
interface…

Guilherme Lima Pereira
- 1,402
- 5
- 17
- 35
6
votes
1 answer
Apply Microsoft Authenticator App to approve/deny 2FA in ASP.NET Core
Currently, when we use Microsoft Authenticator App with Microsoft account, they ask us to click approve or deny instead of filling in the passcode into logging website, system.
Can we apply the same experience into our website without Microsoft…

Hieu Le
- 1,042
- 8
- 18
5
votes
1 answer
Azure authenticator account icon - company logo?
does anyone know if it's possible to add a custom image to account in Azure Authenticator App?
For all of our accounts, it always shows either user's photo uploaded to AAD, or generic badge image
We want to add an image of our company to an account,…

Jiri Formacek
- 66
- 4
4
votes
0 answers
ASP.NET Core MVC - using multifactor push auth with Microsoft Authenticator
I am writing a web app in C# for .NET Core which also should have integrated two-factor authentication and external logins.
I succeeded at integrating multifactor authentication using TOTP (TimedBased One Time Password). This means that every time…

Jantje2000
- 43
- 1
- 7
4
votes
0 answers
OkHttp Authenticator sometimes does not call authenticate on HTTP 401
I have an issue that OkHttp's Authenticator does not call the authenticate method in some cases of HTTP 401 errors. Interceptors are always called, but authenticator is sometimes called and sometimes not. Once it does not call it it will not call it…

shelll
- 3,234
- 3
- 33
- 67
4
votes
0 answers
OkHttp Authenticator sometimes does not call authenticate with multiple Retrofit instances
I have two different Retrofit instances for two different APIs. I also have two different OkHttp3 clients but they share the same Authenticator because the auth token is the same for both APIs.
The problem is that when the token expires then…

shelll
- 3,234
- 3
- 33
- 67
4
votes
0 answers
How can access preferences set in account-authenticator in Android
I need to get value of CheckBoxPreference and SwitchPreference.
In account_preferences.xml i have:
…
user3195429
3
votes
1 answer
Android addAccountExplicitly using "com.google" type
I'm looking for the answer since the begining of the day and I still don't know what to do!
To explain the problem:
My application uses GTasks API. To do this, the user MUST have a google account. I have two ways to check that:
I instantiate an…

miaouPlop
- 61
- 2
- 6
3
votes
1 answer
Unable to setup an Authenticator registration campaign in the Azure portal
I am trying to implement the 'registration campaign' feature in the azure portal. As outlined here: https://learn.microsoft.com/en-us/azure/active-directory/authentication/how-to-mfa-registration-campaign
My goal is to have users be prompted to…

fei0x
- 4,259
- 4
- 17
- 37
3
votes
1 answer
How to check which authenticator_class is used by jupyterhub without reading jupyterhub_config file?
I'm dynamically setting different authenticator class in jupyterhub_config file.
jupyterhub_config.py
c.JupyterHub.authenticator_class = "authenticator_A"
Now i want to check which autheticator is used in notebook cell.
How can i get this class…

veeresh patil
- 1,168
- 1
- 11
- 18