auth/api/iam/user.go
Method Wrapper.handleUserLanding
has 73 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (r Wrapper) handleUserLanding(echoCtx echo.Context) error {
// todo: user authentication is currently not implemented, user consent is not implemented
// This means that this handler succeeds if the token is valid
// It only checks for an existing RequestAccessTokenRequestObject in the store
// It does not (yet) check for user consent or the existence of a user wallet