Skip to content

initial commit#23

Open
mikeshhoffman wants to merge 1 commit intopce-uw-jscript400:masterfrom
mikeshhoffman:master
Open

initial commit#23
mikeshhoffman wants to merge 1 commit intopce-uw-jscript400:masterfrom
mikeshhoffman:master

Conversation

@mikeshhoffman
Copy link

No description provided.


The username and password are packaged together, conveniently for a hacker.


Copy link

Choose a reason for hiding this comment

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

👍


* **Your Answer:**

Search the database to see if the username exists, and if so, send message to the user to require the user to create a different username.
Copy link

Choose a reason for hiding this comment

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

Correct, Currently the app allows multiple users to register with identical usernames and passwords


* **Your Answer:**

TODO
Copy link

Choose a reason for hiding this comment

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

-The first argument payload represents the data to be passed in the JWT,
The second argument is the secret, in this case MYSECRETPASSCODE
The last argument options can include a number of different options such as expiresIn, algorithm, audience, issuer, etc.

* **Your Answer:**

TODO

Copy link

Choose a reason for hiding this comment

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

  • Status 200 received with response which identifies the user associated to the token. We are authenticated/authorized by way of the token submitted along with the HTTP request.

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