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

added support to basic access authentication #330

Closed
wants to merge 1 commit into from

Conversation

heltonmarx
Copy link

Added support to basic access authentication, used in RESTful applications

Review on Reviewable

@heltonmarx
Copy link
Author

Basic access Authentication, receives a base64 string (e.g.: Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==), so it is necessary parse string, decode it and compare password and username. I isn't using file check method because the password is save on a database.

@CurlyMoo
Copy link
Contributor

I isn't using file check method because the password is save on a database.

Very similar to my approach, but i'm still using the more advanced authentication from mongoose. Just pass the username, password and domain as parameters.

@cpq cpq self-assigned this Mar 24, 2015
@cpq
Copy link
Member

cpq commented Apr 10, 2015

Related to cesanta/fossa#18.
Please close this when mongoose is generated from fossa, and fossa has basic auth.

@cpq cpq assigned imax9000 and unassigned cpq Apr 10, 2015
@cpq cpq added the p3 label Apr 10, 2015
@heltonmarx heltonmarx closed this Aug 22, 2017
@snahmad
Copy link

snahmad commented Dec 13, 2018

Is this related with angular json web token?

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.

None yet

5 participants