Replies: 2 comments 4 replies
|
Thanks for your interest and for sending this message 🙂 The profile picture should be supported in the For the image URL to be returned by that endpoint, the user must have a picture uploaded. It can be uploaded by them, via the 'my account' personal area, or an admin uploading a picture for them, in the admin console (users). If you miss a feature / use case, let me know. |
|
Hmmm. Here's the deal with building your own frontend: Account management (post-login) = totally doable via API Once a user is authenticated, you can build a completely custom Angular UI for all self-service stuff. Goiabada has REST APIs for:
All documented and there's an OpenAPI spec at Now... Login flow = this is where it gets tricky The authentication itself (login, OTP, consent) follows the standard OAuth2 pattern with browser redirects. There's no pure POST /api/login endpoint that just returns tokens. This is by design in OAuth2/OIDC. The credentials stay between the user and the auth server, never touching your app. Your options are...
Bottom line, I'd suggest the hybrid approach: customize the login templates to match your Angular app's styling, and build a pure SPA for account management / admin stuff. Regarding template customization: The templates are standard Go HTML templates using Tailwind CSS + DaisyUI. For example, here's essentially what the login page looks like: There are ~10 auth-related templates you'd potentially edit:
The layout (auth_layout.html) uses DaisyUI themes, so just changing the data-theme attribute gives you a different look instantly (there's an admin page to change the theme in the admin console). Or you can completely replace the HTML/CSS structure - just keep the form field names and {{ .csrfField }} intact. Process is: copy templates out of the container, edit what you want, mount them back via volume. If you add new Tailwind classes, regenerate the CSS with the Tailwind CLI. |


Uh oh!
There was an error while loading. Please reload this page.
Hi,
Today I've been exploring this repo and it looks very appealing. The docs are 5/5.
I have a question if the avatar (profile picture) is planned for support?
All reactions