#396 — Facade supports new authorization API-s
Repo: Twill-AI/facade State: closed | Status: done Assignee: Unassigned
Created: 2025-07-15 · Updated: 2025-09-15
Description
Request
Caused by https://github.com/Twill-AI/facade/issues/395
In order to facilitate auth we need in new API-s and update existing.
Acceptance criteria
- Facade supports new API-s listed in https://twillpayments.atlassian.net/wiki/spaces/TD/pages/399147009/Partner+Portal+architecture#Facade-API-changes.
-
Logic above is covered with unit tests. This is required because API-s are for authorization logic.We don’t have time for it now.
Implementation details.
Corrected a little.
Also to create user with requirement to provide password we may use “send invite link” from Supabase. Supabase on staging sends “You have been invited” email (template is not configured but it is possible to do) via configured Email sender with link like
https://u44908106.ct.sendgrid.net/ls/click?upn=u001.Px-2FkewcOEwM5S4K2D-2By2kc1-2BBo-2Bmd15SK5odnUC0Jivb6P2yq8XlWqU62tE6EoeuilK7uoNQItKJ2r7u-2BCQYhHSRkwe8BbkgNruoIAWMm0-2FazlfY2oIolUC0tjKpf3fY30sjM-2FxwOuUDBXvmNNvVmsgRnqyhueYv9-2FCJV9DT7WjhhMWHuurwb55KGDmuog8L-2B0CfN3Il9gdbjrXNlH9vL752uchrJ95-2BiwMnH-2BDfdWyhr8QKcGNZdZ137yiSyHJDgd9kJKfMwF29tnDE1N5gHeSfISEwv47YW3rNP9ft-2Bd8-3DO3wm_xg2ai9FMRYdLcvwwSc-2B-2BDrSr4VLchX79Jr3pQolMkuteM1YBAC5qlT3qexG6WD3-2F60i0ThHLYbAltIK-2BYymH2ZnVrmBDg-2FOWxBnMoDJbIJ9xsXnBNcpLnCqHiHPL-2FGPablUd4efy964UvfsvRrOWP3-2BC1GJUw8Kg7WJsmlR4CJ6q4dxVRy-2Bncpoxq7Qc0cJPByrrGa6LYlzW5WrfQvz0Uv5NyVcPQZT6fCiBDF7PFTY8CiTdCsHFflqfJavNQb-2By
which opens https://afde-stg-twill-eastus-hxhka3a7ecdqddcw.z03.a
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets