Skip to content

Commit

Permalink
keycloak config
Browse files Browse the repository at this point in the history
  • Loading branch information
GMILLA92 committed Mar 13, 2024
1 parent 989cfd6 commit 8645816
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/SignIn/SignInFormNoLS.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import './SignInForm.css'
import { NavLink } from 'react-router-dom'
import configData from '../../config.json'
import React, { Component, useState } from 'react'
import { AuthContext } from '../context/AuthContext'
import { useContext } from 'react'
import { useNavigate } from 'react-router-dom'
import Navbar from '../NavBar/Navbar'

export default function SignInFormNoLS () {
const [userName, setUserName] = useState('dummy_user')
Expand Down Expand Up @@ -55,7 +54,8 @@ export default function SignInFormNoLS () {
formBody = formBody.join('&')

const response = await fetch(
'https://beacon-network-demo2.ega-archive.org/auth/realms/Beacon/protocol/openid-connect/token',
configData.KEYCLOAK_URL +
'/auth/realms/Beacon/protocol/openid-connect/token',
{
method: 'POST',
headers: {
Expand Down

0 comments on commit 8645816

Please sign in to comment.