Questions tagged [authprovider]
10 questions
2
votes
0 answers
Why is react admin login page only shown for one second?
I have built a website with react admin. Now i want to add the basic login page from react admin.
For this I have added the simple authProvider which passes all username and password combinations. But now the login page is only shown for one second…

Fee
- 21
- 2
1
vote
0 answers
How to change "Continue to Force.com" to "Contineu to " in Google SSO with Salesforce
We implemented Single sign on with Google as authentication provider for Salesforce.
It is working well. However, in the Google's login page, it shows force.com and we want to see our company name.enter image description here

Srinath
- 11
- 1
1
vote
1 answer
How to achive an extra custom dialog (based on server response) by login in React Admin?
I want users to be able to choose a role as part of the login process.
After user gives his username and password, server sends back the roles he have.
How can I achieve a dialog, where user can choose a role from the list of owned roles, before the…

Koli
- 197
- 2
- 16
0
votes
1 answer
How to run Cassandra-stress tool with Kerberos authentication?
My Cassandra cluster is Kerberos enabled and I want to user the Kerberos protocol to execute cassandtra-stres..
When looking at the documentation, I found a credentials file, where I can provide simple username and password, But did not find…

Mohini Gonawala
- 11
- 3
0
votes
0 answers
User context in react
I'm just getting started with React and i tried to write a simple context that will store the details of the user.
AuthProvider.js
import React, {useState,useEffect,createContext } from 'react';
export const AuthContext = createContext();
export…

asdasdas
- 69
- 1
- 6
0
votes
0 answers
Provider on Firebase Auth Login State does not redirect to Home page after successful login. but restarting the app navigates to home
-This is the Login Firebase Function used
Simple Login Function from firebase that signs in first and checks for email verification, but when the snack bar for successful logins shows up still the widget do not rebuild as the logic in the main.dart…

Muhammad Junaid
- 1
- 2
0
votes
1 answer
React Admin resource name with path variable
Is it possible to specify a Resource name in React Admin with a path variable?
Problem
When the user authenticate, if admin, should see a list of email accounts. Clicking on the email it redirects to the path experts/${email}/requests.
To map this…

Pietro
- 1,815
- 2
- 29
- 63
0
votes
0 answers
useEffect is getting in a loop
I am trying to implement in my app.js a simple Protect Route Middleware.
If the user is authenticated, he can not go to "/login" and "/". I also made a simple function in app.js, which is checking if the user is not authenticated. If he is not…

Daniel Rg
- 35
- 6
0
votes
1 answer
working example of OnBehalfOfProfider for a daemon app calling MS Graph
I have difficulty finding a working example for this scenario:
IConfidentialClientApplication confidentialClientApplication =…

Art Melk
- 41
- 4
0
votes
2 answers
How do I configure the getPermissions() method in the AuthProvider in react-admin?
I have tried creating custom hooks to call the DataProvider getOne() method to fetch the permissions based on the username I get from the authProvider after login, but the constant requirement of calling the hook from the body of the function throws…

Ananth George
- 9
- 5