~phw/omniauth-musicbrainz

MusicBrainz authentication provider for OmniAuth
Link to OmniAuth project in README
82c1cd7f — Philipp Wolfer 2 years ago
Removed not needed provider_ignores_state option
eb2f1407 — Philipp Wolfer 2 years ago
Added explicit omniauth-oauth2 dependency

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~phw/omniauth-musicbrainz
read/write
git@git.sr.ht:~phw/omniauth-musicbrainz

You can also use your local clone with git send-email.

#OmniAuth MusicBrainz

MusicBrainz OAuth 2 authentication provider for Ruby OmniAuth.

#Setup

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.

#License

omniauth-musicbrainz © 2023 Philipp Wolfer ph.wolfer@gmail.com

Published under the MIT license, see LICENSE for details.

Do not follow this link