Link to OmniAuth project in README
Removed not needed provider_ignores_state option
Added explicit omniauth-oauth2 dependency
MusicBrainz OAuth 2 authentication provider for Ruby OmniAuth.
First you need to create an application on MusicBrainz to obtain a client ID and client secret needed for the OAuth 2 authentication. On MusicBrainz.org go to your user applications and click on "Register an application" in the "Developer Applications" section. Give the application a name and set the proper callback URL. Once you have created the application it will show up in the Develope Applications list with a OAuth Client ID and OAuth Client Secret.
Add the gem to your Gemfile:
gem 'omniauth-musicbrainz'
Rune bundle install
to install it into your project.
To use the provider, set it up with the client ID and client secret:
provider :musicbrainz,
client_id: "YOUR_CLIENT_ID",
client_secret: "YOUR_CLIENT_SECRET"
See discourse-musicbrainz-auth for an example.
omniauth-musicbrainz © 2023 Philipp Wolfer ph.wolfer@gmail.com
Published under the MIT license, see LICENSE for details.