Skip to content

Instantly share code, notes, and snippets.

@guzmonne
Created July 19, 2019 14:20
Show Gist options
  • Select an option

  • Save guzmonne/2ea96df16813921b707950d84e2e7600 to your computer and use it in GitHub Desktop.

Select an option

Save guzmonne/2ea96df16813921b707950d84e2e7600 to your computer and use it in GitHub Desktop.

Revisions

  1. guzmonne created this gist Jul 19, 2019.
    9 changes: 9 additions & 0 deletions Keycloak SSO - index.jsx
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    import React from 'react';
    import ReactDOM from 'react-dom';
    import App from './components/App.js';
    import { init } from './modules/keycloak.js';

    // Initialize the Keycloak client
    init();
    // Render the React application
    ReactDOM.render(<App />, document.getElementById('root'));