UNPKG

@shogun-sdk/accounts

Version:

Shogun with Turnkey: configs, encryption, authentication with Telegram/Turnkey OIDC, etc.

10 lines 281 B
import axios from 'axios'; async function getTelegramOIDCToken(apiDomain, user, nonce) { const { data } = await axios.post(`${apiDomain}/oauth/telegram`, { user, nonce, }); return data; } export { getTelegramOIDCToken }; //# sourceMappingURL=oidc.js.map