Bluesky oauth
Has anyone setup Bluesky Oaoth yet
I'm looking through https://discord.com/channels/686873244791210014/1260809637603708979 and can see Riot Games was integrated, but any tips would be helpful
5 Replies
Hi @dozieokk. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Based on the provided knowledge sources, there is currently no specific information about setting up Bluesky OAuth with Wasp. The documents mainly discuss OAuth integration for providers like Google, GitHub, and Keycloak.
However, I can provide some general insights about OAuth integration in Wasp that might be helpful:
1. Wasp is planning to integrate with Arctic, a library that supports multiple OAuth providers Discord thread (https://discord.com/channels/686873244791210014/1208050260698464307). This integration is expected to expand the number of supported OAuth providers, but it's not clear if Bluesky will be included.
2. For providers not directly supported by Wasp, you might be able to create a custom implementation using Wasp's API endpoints Wasp Docs (https://wasp-lang.dev/docs/advanced/apis#using-the-api-externally). This would involve setting up your own OAuth flow and handling the authentication process manually.
3. When setting up OAuth for supported providers like Google or GitHub, you need to create an OAuth app on the provider's platform and configure the callback URLs Google OAuth Setup (https://wasp-lang.dev/docs/auth/social-auth/google#3-creating-a-google-oauth-app) GitHub OAuth Setup (https://wasp-lang.dev/docs/auth/social-auth/github#3-creating-a-github-oauth-app). A similar process might be necessary for Bluesky, but you'd need to refer to Bluesky's specific documentation for the exact steps.
4. If you decide to implement a custom OAuth flow, you might need to use custom API endpoints and potentially inject the user object into the context for queries, as mentioned in this Discord thread (https://discord.com/channels/686873244791210014/1208050260698464307).
Given the lack of specific information about Bluesky OAuth in Wasp, I recommend reaching out to the Wasp community on Discord or GitHub for more targeted assistance or to see if anyone has attempted this integration.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @dozieokk, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?
We don't have BlueSky yet, but you can takea look here at an example of implementing custom auth provider for Spotify, which should help with doing this on your own if you wish until we add it: https://gist.github.com/infomiho/3c63de7d53aba59d6293bcb59501a029
@martinsos is this something you folks will be open to accepting as an open source contribution? Assuming it's roughly the same amount of work to officially contribute it vs just add it for my product.
Yes I believe we would! I will ping @miho , he is auth master, thought it might take him a bit to get back he is on a conference at the moment
You can get inspired by a community member contributing Discord auth: https://github.com/wasp-lang/wasp/pull/2110
GitHub
2016/discord: Add discord auth to social auth providers by wardbox ...
Description
Adds discord auth to social auth providers. Contributes to #2016 but doesn't fix.
Select what type of change this PR introduces:
Just code/docs improvement (no functional ch...