markbates / markbates/goth

[Question] gin router api with goth

Open
#592 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
6.6k
Forks
631
PR merge metrics
No merged PRs in 30d

Description

Hi there!

I’m working on an application which is composed by a frontend react SPA connected to Angolan backend using gin router with goth.

As this is the first time working on a frontend app, im wondering what is the best approach to handle authentication.

shall i use the frontend app to authenticate against any provider and then use goth to verify the tokens? Or let goth handle the authentication and provide to the frontend with the tokens.

thanks in advance

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository file, test, or entry point is mentioned. Start by reviewing the React SPA, Gin router, and Goth authentication flow described in the issue; done would be a documented recommendation that clearly explains the supported authentication approach.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, react
Domain
authentication, backend, frontend
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.