{"repo":"pond/omniauth-entra-id","free":true,"listed":false,"github":"https://github.com/pond/omniauth-entra-id","clone":"git clone https://github.com/pond/omniauth-entra-id.git","description":"OAuth 2 authentication with the Azure ActiveDirectory V2 API.","language":"Ruby","stars":97,"topics":["oauth2","omniauth-oauth2","omniauth-strategy","omniauth-azure-oauth2"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"OmniAuth::Entra::Id OAuth 2 authentication with Entra ID API. Rationale: https://github.com/marknadig/omniauth-azure-oauth2 is no longer maintained. https://github.com/marknadig/omniauth-azure-oauth2/pull/29 contains important additions. This gem combines the two and makes some changes to support the Entra API. The old ActiveDirectory V1 API used OpenID Connect. If you need this, a gem from Microsoft is available here, but seems to be abandoned. If upgrading from older versions of this gem under its old name of \"Azure ActiveDirectory V2\", please follow the instructions in UPGRADING.md . Installation Add this line to your application's Gemfile: And then execute: Or install it yourself as: Usage Please start by reading https://github.com/marknadig/omniauth-azure-oauth2 for basic configuration and background information. Note that with this gem, you must use strategy name entra id rather than azure oauth2 . Additional configuration information is given below. Entra ID server configuration In most cases, you only want to receive 'verified' email addresses in your application. For older app registrations in the Entra portal, this may need to be enabled explicitly. It's enabled by default for new multi-tenant app registrations made after June 2023. Implementation With OmniAuth::Builder You can do something like this for a static / fixed configuration: ...or, if using a custom provider class (called YouTenantProvider in this example, described in more detail later): With Devise In y","default_branch":null,"files":null,"tree":[],"storefront":"/r/pond","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pond/omniauth-entra-id/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."}