N
Neon6mo ago
constant-blue

Neon-Auth API for Python backend

hey guys , were a bit confused on how to tackle integrating Neon-Auth with a python server. Can we connect to the Neon-Auth API directly instead of Stack-Auth? if so could you list what endpoints these be ? From the documentation it wasn't exactly clear: https://neon.tech/docs/guides/neon-auth-api#list-integrations
Neon
Manage Neon Auth using the API - Neon Docs
Learn how to manage your Neon Auth integration using the Neon API. Create a new integration, generate SDK keys, add users, and claim ownership of your Neon managed auth project to your auth provider. ...
No description
5 Replies
flat-fuchsia
flat-fuchsia6mo ago
cc @David Gomes
flat-fuchsia
flat-fuchsia6mo ago
Hi @Remo van de Sande, the Neon Auth API for now is not very extensive: https://api-docs.neon.tech/reference/createneonauthintegration That's all we have for now
Neon
Create Neon Auth integration
Creates a project on a third-party authentication provider's platform for use with Neon Auth. Use this endpoint if the frontend integration flow can't be used.
constant-blue
constant-blueOP6mo ago
@David Gomes Hi there David, I'm trying to understand how we should handle user management with Neon-Auth (create/remove/add/delete users etc.). The provided API seems focused on enabling Neon-Auth in a project, not on the management of users. Should we use SQL/ORM to interact with the Neon-Auth table ? How are users currently interacting with Neon-Auth ?
No description
flat-fuchsia
flat-fuchsia6mo ago
Both SQL and ORM work
flat-fuchsia
flat-fuchsia6mo ago
I'd recommend following this guide: https://neon.tech/docs/guides/neon-auth-tutorial
Neon
Neon Auth Tutorial - Neon Docs
Modern application development is becoming increasingly reliant on third party authentication providers like Clerk, Stack Auth, etc., to handle secure user management. While these platforms excel at s...

Did you find this page helpful?