{"id":20307399,"url":"https://github.com/oktadev/okta-express-minio-app-example","last_synced_at":"2026-05-08T05:54:23.887Z","repository":{"id":43470089,"uuid":"437616839","full_name":"oktadev/okta-express-minio-app-example","owner":"oktadev","description":"A sample Node.js App with Express.js, MinIO, and Okta's Sign-In-Widget.","archived":false,"fork":false,"pushed_at":"2022-03-01T16:47:55.000Z","size":3034,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"main","last_synced_at":"2026-04-21T14:52:59.073Z","etag":null,"topics":["authentication","express","minio","node","okta"],"latest_commit_sha":null,"homepage":"","language":"Handlebars","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oktadev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-12T17:53:26.000Z","updated_at":"2022-03-20T04:13:46.000Z","dependencies_parsed_at":"2022-09-05T20:41:16.293Z","dependency_job_id":null,"html_url":"https://github.com/oktadev/okta-express-minio-app-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oktadev/okta-express-minio-app-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-express-minio-app-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-express-minio-app-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-express-minio-app-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-express-minio-app-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oktadev","download_url":"https://codeload.github.com/oktadev/okta-express-minio-app-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-express-minio-app-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32769110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T02:36:36.067Z","status":"ssl_error","status_checked_at":"2026-05-08T02:36:07.210Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","express","minio","node","okta"],"created_at":"2024-11-14T17:17:33.673Z","updated_at":"2026-05-08T05:54:23.854Z","avatar_url":"https://github.com/oktadev.png","language":"Handlebars","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Okta Shopping App  \n\nThis tutorial shows your how to build a basic Node.js Shopping App with Express.js, MinIO, and Okta's Sign-In-Widget.\n\nPlease read [How to Build a Basic Shopping App with Node.js and MinIO]() to step through the tutorial.\n\n## Prerequisites\n\n* [Node.js](https://nodejs.org/en/) v16.14.0\n* [MinIO Client (mc)](https://docs.minio.io/docs/minio-client-quickstart-guide)\n* [Minio Server](https://docs.min.io/)\n* [Okta CLI](https://cli.okta.com/) v0.10.0\n\n## Getting Started\n\nTo install this example application, run the following commands:\n\n```sh\ngit clone https://github.com/oktadev/okta-express-minio-app-example.git\ncd okta-express-minio-app-example\n```\n\n### Create an OIDC Application in Okta\n\nCreate a free developer account with the following command using the [Okta CLI](https://cli.okta.com):\n\n```shell\nokta register\n```\n\nIf you already have a developer account, use `okta login` to integrate it with the Okta CLI.\n\nProvide the required information. Once you register, create a client application in Okta with the following command:\n\n```shell\nokta apps create\n```\n\nYou will be prompted to select the following options:\n- Type of Application: **2: Single Page App**\n- Redirect URI: `http://localhost:3000/callback`\n- Logout Redirect URI: `http://localhost:3000/`\n\nRun `cat .okta.env` (or `.okta.env` on Windows) to see the issuer and credentials for your app. Update `public/js/okta-config.js` with your Okta settings.\n\n\n### Set Up Your MinIO Bucket\n\n1. We've created a public minio server https://play.minio.io:9000 for developers to use as a sandbox. Minio Client `mc` is  preconfigured to use the play server. Make a bucket called `minio-store` on play.minio.io. Use `mc mb` command to accomplish this. \n\n```sh\nmc mb play/okta-commerce\n```\n\n2. Store product image assets can be set to public readwrite. Use `mc policy` command to set the access policy on this bucket to \"public\". \n\n```sh\nmc policy set public play/okta-commerce\n```\n\n3. Upload store product pictures into this bucket.\n\n```sh\nmc cp ~/Downloads/Product-1.jpg play/okta-commerce/\nmc cp ~/Downloads/Product-2.jpg play/okta-commerce/\nmc cp ~/Downloads/Product-3.jpg play/okta-commerce/\nmc cp ~/Downloads/Product-4.jpg play/okta-commerce/\n```\n\n**NOTE** : We have already created a minio-store bucket on play.minio.io and copied the assets used in this example, into this bucket.\n\n\n### Point to the MinIO Server with your Keys\n\nIn `services/minio-handler.js` file, update with your server's endpoint, port, access and secret keys. Keys shown in this example are open to the public:\n\n\n```js\nvar Minio = require('minio');\nvar minioClient = new Minio.Client({\n  endPoint: 'play.minio.io',\n  port: 9000,\n  accessKey: 'Q3AM3UQ867SPQQA43P2F',\n  secretKey: 'zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG'\n});\n```\n\n**NOTE** : for using minio server locally also add ``secure: false,`` in above code.\n\n\n### Install dependencies and run the app\n\nTo install the dependencies and start the app, run the following commands:\n```\nnpm install\nnpm start\n```\n\nTo see the app, open a browser window and visit http://localhost:3000.\n\n\n## Help\n\nPlease post any questions as comments on the [blog post](), or visit our [Okta Developer Forums](https://devforum.okta.com/).\n\n\n## License\n\nApache 2.0, see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foktadev%2Fokta-express-minio-app-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foktadev%2Fokta-express-minio-app-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foktadev%2Fokta-express-minio-app-example/lists"}