Unverified Commit ebc1c6a5 authored by kxrn_gupta's avatar kxrn_gupta Committed by GitHub

docs(examples): fix typo and update HTTP links to HTTPS in example READMEs (#99924)

### Description
- Fixed minor typo ('This example show' -> 'This example shows') in
`with-passport` README.
- Updated outdated HTTP URLs to HTTPS for Passport.js and Upstash across
example READMEs.
parent 212e7b1e
...@@ -4,7 +4,7 @@ This project adds commenting functionality to [Next.js blog application](https:/ ...@@ -4,7 +4,7 @@ This project adds commenting functionality to [Next.js blog application](https:/
The comment box requires Auth0 authentication for users to add new comments. A user can delete their own comment. Also admin user can delete any comment. The comment box requires Auth0 authentication for users to add new comments. A user can delete their own comment. Also admin user can delete any comment.
Comments are stored in Serverless Redis ([Upstash](http://upstash.com/)). Comments are stored in Serverless Redis ([Upstash](https://upstash.com/)).
### Demo ### Demo
......
# next-connect and Passport # next-connect and Passport
This example creates a basic [CRUD](https://en.wikipedia.org/wiki/Create,_read,_update_and_delete) app using [next-connect](https://github.com/hoangvvo/next-connect) and cookie-based authentication with [Passport.js](http://www.passportjs.org/). The cookie is securely encrypted using [@hapi/iron](https://github.com/hapijs/iron). This example creates a basic [CRUD](https://en.wikipedia.org/wiki/Create,_read,_update_and_delete) app using [next-connect](https://github.com/hoangvvo/next-connect) and cookie-based authentication with [Passport.js](https://www.passportjs.org/). The cookie is securely encrypted using [@hapi/iron](https://github.com/hapijs/iron).
The example shows how to do a sign up, login, logout, and account deactivation. It utilizes [SWR](https://swr.vercel.app/) to fetch the API. The example shows how to do a sign up, login, logout, and account deactivation. It utilizes [SWR](https://swr.vercel.app/) to fetch the API.
......
# Passport.js Example # Passport.js Example
This example show how to use [Passport.js](http://www.passportjs.org) with Next.js. The example features cookie based authentication with username and password. This example shows how to use [Passport.js](https://www.passportjs.org) with Next.js. The example features cookie based authentication with username and password.
The example shows how to do a login, signup and logout; and to get the user info using a hook with [SWR](https://swr.vercel.app). The example shows how to do a login, signup and logout; and to get the user info using a hook with [SWR](https://swr.vercel.app).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment