Keycloak login sequence is not triggered
See original GitHub issueI use the component just like in the example for keycloak
and I expect to be redirected to a login page or at least some kind of action but nothing happens. The app just loads the initial page without triggering any login sequence.
Any ideas what might be wrong? Maybe this is keycloak
specific?
import React from 'react';
import BaseLayout from './BaseLayout';
import { QueryClientProvider } from 'react-query';
import ReactQueryClient from '../api/rq-client';
import { AuthProvider } from 'react-oidc-context';
const oidcConfig = {
authority: 'http://192.168.0.230:8081/auth/realms/xxx',
client_id: 'zzz',
redirect_uri: 'http://localhost:8000/'
};
export default ({ children }) => {
return (
<AuthProvider {...oidcConfig}>
<QueryClientProvider client={ReactQueryClient}>
<BaseLayout>{children}</BaseLayout>
</QueryClientProvider>
</AuthProvider>
);
};
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Server Administration Guide - Keycloak
If Keycloak does not find the user, Keycloak iterates over each User Storage provider for the realm until it finds a match. Data...
Read more >Unable to authenticate the login of application user using ...
Tried to hit POST /authenticate from postman and browser it's working for me. Authenticate working CURL REQUEST: curl --location --request POST ...
Read more >Infinite Loop with url params after redirection from keycloak ...
Once the root url is loaded, the login redirect is triggered to keycloak. And the process repeats again. I tried to debug this...
Read more >Unable to Login or Search for User in RH-SSO (ERROR
Searching for users in the RH-SSO admin console, results in the following error: Raw. DEBUG [org.keycloak.storage.ldap. · When user tries to ...
Read more >A Quick Guide To Using Keycloak For Identity And Access ...
In this blog we will share how to use Keycloak for Identity and Access Management. but first here are some Frequently asked questions...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can use the onSigninCallback to setup what ever you like after the sigin-in…
Thank you for your hard work, you saved us!