-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Support any OpenID Connect Provider #2131
Comments
Hi Rosario. Any updates on this issue? Do you have any possible ideas when you think you can fix it? |
Hi @alex-kor, FirebaseUI-Android/auth/src/main/java/com/firebase/ui/auth/AuthUI.java Lines 632 to 638 in 5b6c9f0
Supported providers are: FirebaseUI-Android/auth/src/main/java/com/firebase/ui/auth/AuthUI.java Lines 118 to 140 in 5b6c9f0
Adding the ability to set any OIDC provider sounds like a useful feature request, so I've added the feature request label to this issue. In the meantime you'll need to fork the library if you want to modify it to support a custom OIDC provider. |
environment
the problem:
Making a connection to OIDC provider which is added through Firebase console
App crashes when assembling list of Providers using provider builder:
AuthUI.IdpConfig.GenericOAuthProviderBuilder("oidc.provider-id","provider-name", R.layout.oidc_button).build(),
Steps to reproduce:
Observed Results:
logcat:
FATAL EXCEPTION: main
Process: com.tmobile.authentication, PID: 9550
java.lang.IllegalArgumentException: Unknown provider: oidc.provider-id
at com.firebase.ui.auth.AuthUI$IdpConfig$Builder.(AuthUI.java:635)
at com.firebase.ui.auth.AuthUI$IdpConfig$GenericOAuthProviderBuilder.(AuthUI.java:1251)
Expected Results:
App should not crash and should open a dialog showing my OIDC provider in a list of sign-in buttons
Relevant Code:
The text was updated successfully, but these errors were encountered: