Skip to content

Example using React and Go? #4276

Answered by fungc-io
Anan7Codes asked this question in Get Help
Discussion options

You must be logged in to vote

Hi @Anan7Codes , Thanks for your message.

You can integrate Authgear into your React app using our SDK. In the frontend, trigger the user authentication and exchange for tokens with the functions provided by the SDK. Then your app can access restricted resources in your Golang backend server by including the access token. The access token proves the requests are sent from an authenticated user.

In the Golang server, you can verify if the user's requests by validating the access token, which is a JWT.
You can see …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Anan7Codes
Comment options

Answer selected by chpapa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants