add a sample AuthorizationServer to the repo and put traffic-police app in a separate folder

This commit is contained in:
Muhammad Azeez
2021-01-16 21:20:05 +03:00
parent 91810950db
commit 85cd111f5f
201 changed files with 10992 additions and 16 deletions

View File

@@ -0,0 +1,22 @@
import React, { useEffect } from 'react'
import { signoutRedirectCallback } from '../services/userService'
import { useHistory } from 'react-router-dom'
function SignoutOidc() {
const history = useHistory()
useEffect(() => {
async function signoutAsync() {
await signoutRedirectCallback()
history.push('/')
}
signoutAsync()
}, [history])
return (
<div>
Redirecting...
</div>
)
}
export default SignoutOidc