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

Add JWT authentication example #44

Closed
wants to merge 4 commits into from
Closed

Add JWT authentication example #44

wants to merge 4 commits into from

Conversation

dimensi0n
Copy link

Related to #31

Copy link
Owner

@SimonWaldherr SimonWaldherr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

found some issues, please review - thanks

expert/jwt_authentication.go Outdated Show resolved Hide resolved
expert/jwt_authentication.go Outdated Show resolved Hide resolved
expert/jwt_authentication.go Show resolved Hide resolved
Copy link

@codelingo codelingo bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dimensi0n
Copy link
Author

Edited

Copy link

@codelingo codelingo bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SimonWaldherr
Copy link
Owner

sorry for the delay.
please take a look at line 69:

go run expert/jwt_authentication.go 
# command-line-arguments
expert/jwt_authentication.go:69:29: undefined: controllers

Fix error at line 69
@dimensi0n
Copy link
Author

Fixed

Copy link

@codelingo codelingo bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SimonWaldherr
Copy link
Owner

thanks, now it runs.
Can you please provide a little information how to use it in the readme file?

e.g.:

go run expert/jwt_authentication.go

then open http://localhost:8080/signin etc. ...

@dimensi0n dimensi0n closed this Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants