Skip to content
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

KeyCloak Authentication not working #1019

Open
jagadeesh93 opened this issue Nov 20, 2023 · 2 comments
Open

KeyCloak Authentication not working #1019

jagadeesh93 opened this issue Nov 20, 2023 · 2 comments
Labels
Keycloak Identity question Further information is requested

Comments

@jagadeesh93
Copy link

Hii,
I was using react-keycloak for my project , since its unmaintained i am trying to migrate it to react-oidc-context
I am following the documentation in the repo but unfortunately its not making any request to my Keycloak server for login
This is my configuration

const oidcConfig: AuthProviderProps = {
  authority: "https://keycloak.com/auth/realms/my_realm",
  client_id: "my_keycloak_client",
  redirect_uri: "http://localhost:3000"
};
ReactDOM.render(
  <AuthProvider
    {...oidcConfig}
  >
    <Test />
  </AuthProvider>,
  document.getElementById("root") as HTMLElement
);

This app was working perfectly fine in the old libriary. In the DOM I can see an iframe and in the network tab i can see the requests they made to fetch the tokens etc..
But in this library nothing is there
Please help @pamapa

@pamapa
Copy link
Member

pamapa commented Nov 20, 2023

@pamapa pamapa added the question Further information is requested label Nov 20, 2023
@zach-betz-hln
Copy link

In case it's helpful: #1208

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Keycloak Identity question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants