{"repo":"thape-cn/oauth2id","free":true,"listed":false,"github":"https://github.com/thape-cn/oauth2id","clone":"git clone https://github.com/thape-cn/oauth2id.git","description":"Self-hosting SSO Portal, support Oauth2, Open ID Connect and SAML 2.0","language":"Ruby","stars":43,"topics":["oauth2id","openid-connect","oauth2","identity","oauth2-provider","openid-connect-provider"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Oauth2id SSO Portal based on oauth2 id protocol Self-Hosting Before proceeding with Oauth2id installation, ensure you meet the following prerequisites: A server with Docker installed: Oauth2id is designed to be self-hosted with Docker. Rails master key, which is used to decrypt the credentials file. If you don't have one, ask for it from the project maintainer. Docker Run To set up Oauth2id using docker run , execute the following one command to start Oauth2id: 1. Select a suitable directory as your application directory, and create a directory to store the Oauth2id database file: This step makes sure that storage directory is created and owned by the current user. 2. Run the following command to start Oauth2id: This command starts Oauth2id in the background, and exposes the Oauth2id web interface on port 3000. The --env RAILS MASTER KEY=YourMasterKey option is used to pass the Rails master key to the container. The -v ./storage:/rails/storage option is used to mount the storage directory on the host to the container. This is necessary to persist the Oauth2id database file. Quickly Start Build & Run in docker mode Dev env setup Setup the puma-dev to support https in local. Then visit the https://oauth2id.test and accept the invalid https certificate, for higher version MacOS, need opening Keychain Access and moving the Puma-dev CA certificate into the System column under keychains then restarting the browser, it's a known issue In order to make sure Faraday running in local a","default_branch":null,"files":null,"tree":[],"storefront":"/r/thape-cn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/thape-cn/oauth2id/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}