Greetings,
I’d like to use mastodon as Identity Provider to login into my akkoma instance.
I generated a token with
curl -d "client_name=akkoma&redirect_uris=https://akkoma.example.org/oauth/mastodon/" -X POST https://mastodon.example.org/api/v1/apps | jq
to create id client and client secret, that were puto into config/prod.secret.exs
:
config :ueberauth, Ueberauth,
providers: [
# You will create routes matching the provider name:
# - /auth/mastodon
# - /auth/mastodon/callback
mastodon: {Ueberauth.Strategy.Mastodon, [
instance: "https://mastodon,example.,org",
client_id: "xxxxxxxxxxxx",
client_secret: "xxxxxxxxx",
authorize_url: "https://mastodon.example.org/oauth/authorize",
token_url: "https://mastodon.example.org/oauth/token",
userinfo_url: "https://mastodon,example.org/api/v1/accounts/verify_credentials",
scope: "read write follow"
]}
Then I issued ./docker-resources/manage.sh mix ecto.migrate
.
Now I’m lost. Whato do I have to do? I see no “login with mastodon” button or kind of. How do I proceed?