Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Validator dependency #125

Closed
eeviefogrot opened this issue Dec 28, 2024 · 4 comments
Closed

Missing Validator dependency #125

eeviefogrot opened this issue Dec 28, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@eeviefogrot
Copy link

Bug description

  • Would you like to work on a fix? [y/n]

To Reproduce

Steps to reproduce the behavior:

  1. Make a project using the steps from the nakago site
  2. run it
  3. go to /username

Expected behavior

Response should be:

{
  "code": 200,
  "username": "(anonymous)"
}

Screenshots

image

Environment

  • OS: Windows 11
  • nakago version: 0.23
@eeviefogrot eeviefogrot added the bug Something isn't working label Dec 28, 2024
@bkonkle
Copy link
Owner

bkonkle commented Jan 7, 2025

Hi! Thank you for the report! I'll take a look and find a fix.

@bkonkle bkonkle self-assigned this Jan 7, 2025
@bkonkle
Copy link
Owner

bkonkle commented Jan 7, 2025

Okay, I was able to reproduce and I found some places where the tutorial and template needed to be updated. Thank you for the heads-up!

#126

One quick note - make sure you're using a real OAuth provider for the config.toml settings here:

[auth]
url = "https://simple-dev.oauth-service.com"

You might also need to add an audience setting (with Auth0, for example):

[auth]
url = "https://simple-dev.oauth-service.com"
audience = "localhost"

Here's what my results look like:

image

@bkonkle
Copy link
Owner

bkonkle commented Jan 7, 2025

@bkonkle
Copy link
Owner

bkonkle commented Jan 7, 2025

Closing the ticket for now - feel free to reopen if you run into more trouble.

@bkonkle bkonkle closed this as completed Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants