blob: ced5d2e033b87ae117c29aa33c373b5086db4c9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import config from '../../config'
export function performTokenSignIn(token) {
const apiUrl = config['API_BASE_URL']
return fetch(`${apiUrl}/tokensignin`, {
method: 'POST',
body: new URLSearchParams({
idtoken: token,
}),
}).then((res) => res.json())
}
|