This topic seems to be closed => Getting error when try to do custom authentication - #6 by dayanidhee.singh
Any chance to have a confirmation of Telegram authentication ?
Thanks !
This topic seems to be closed => Getting error when try to do custom authentication - #6 by dayanidhee.singh
Any chance to have a confirmation of Telegram authentication ?
Thanks !
Thank you so much for your prompt answer, is there a specific configuration guide or tutorial I should follow and is the previous thread a good start?
Hello @pvdyck,
The flow would be to first create a Telegram bot that allows users to log in to Telegram and fetch their user details in the backend. Although we don’t have a step-by-step guide for this, here’s a general flow that you can follow:
Begin by creating a Telegram bot that will enable users to log in to Telegram.
Once a user has successfully logged in, the bot should return an authorization code.
Use this authorization code to fetch the user’s details in the backend.
Create a JWT token using the user’s information. The private key will be used to sign the token, which will then be used to convert to a public key that later gets converted into JWKS format and should be exposed publicly via a URL.
Create a custom verifier using Web3Auth SDK and the JWT & JWKS information.
Use the Web3Auth SDK to pass the JWT token to the verifier.
Finally, retrieve the user’s ETH/Solana address.
I hope this helps! Let me know if you have any further questions or concerns.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.