new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Supabase · Auth · all subjects

oauth providers/bitbucket

6 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Bitbucket OAuth setup overview

Setting up Bitbucket logins for your application consists of 3 parts: Create and configure a Bitbucket OAuth Consumer on Bitbucket, add your Bitbucket OAuth Consumer keys to your Supabase Project, and add the login code to your Supabase JS Client App.

Create Bitbucket OAuth Consumer steps

To create a Bitbucket OAuth Consumer: Click on your profile icon at the bottom left, click on All Workspaces, select a workspace, click on Settings on the left, click on OAuth consumers under Apps and Features, click Add Consumer at the top, enter the app name under Name, in Callback URL type the callback URL of your app, check the permissions you need (Email and Read should be enough), and click Save at the bottom. Then click on your app name to copy your Key (client_key) and Secret (client_secret) codes.

signInWithOAuth JavaScript example for Bitbucket

To sign in with Bitbucket using JavaScript, call signInWithOAuth() with 'bitbucket' as the provider: ```js import { createClient } from '@supabase/supabase-js' const supabase = createClient('https://your-project-id.supabase.co', 'sb_publishable_...') async function signInWithBitbucket() { const { data, error } = await supabase.auth.signInWithOAuth({ provider: 'bitbucket', }) } ```

signInWithOAuth Flutter example for Bitbucket

To sign in with Bitbucket using Flutter, call signInWithOAuth() with OAuthProvider.bitbucket as the provider: ```dart Future<void> signInWithBitbucket() async { await supabase.auth.signInWithOAuth( OAuthProvider.bitbucket, redirectTo: kIsWeb ? null : 'my.scheme://my-host', authScreenLaunchMode: kIsWeb ? LaunchMode.platformDefault : LaunchMode.externalApplication, ); } ```

signInWithOAuth Kotlin example for Bitbucket

To sign in with Bitbucket using Kotlin, call signInWith(Provider) with Bitbucket as the Provider: ```kotlin suspend fun signInWithBitbucket() { supabase.auth.signInWith(Bitbucket) } ```

signInWithOAuth C# example for Bitbucket

To sign in with Bitbucket using C#, call SignIn() with Provider.Bitbucket as the provider: ```c# var state = await supabase.Auth.SignIn(Provider.Bitbucket); var signInUrl = state.Uri; ```

Give your agent this brain