gethomepage / homepage

A highly customizable homepage (or startpage / application dashboard) with Docker and service API integrations.
https://gethomepage.dev
GNU General Public License v3.0
19.2k stars 1.15k forks source link

[Bug] authentik widget problem using API #690

Closed cpuks closed 1 year ago

cpuks commented 1 year ago

Description

My authentik is up and working but I cannot get widget to work on homepage. Tried local address and my domain address, created diffent users - akdmin with intent API / outpost user / regular user but I cannot get this to work.

image

Steps to reproduce

    - Authentik:
        href: https://REDACTED
        server: my-docker
        container: authentik
        widget:
          type: authentik
          url: https://REDACTED
          api: 7INV1G3CxJCqiOhLvdnHmtVkgPcpA670IdWAfbsnDAHZ2LHv9g1HZbiGexpB

homepage version

0.5.5

Installation method

Unraid

Configuration

No response

Container Logs

No response

Browser Logs

Something went wrong.
TypeError: f.reduce is not a function

    at s (http://192.168.88.100:3001/_next/static/chunks/855.fab09bcbb8cad923.js:1:1070)
    at d (http://192.168.88.100:3001/_next/static/chunks/3306-995fe34fc4fa03e6.js:1:12200)
    at n (http://192.168.88.100:3001/_next/static/chunks/pages/index-b0f714149f1e785a.js:1:6177)
    at G (http://192.168.88.100:3001/_next/static/chunks/pages/index-b0f714149f1e785a.js:1:13101)
    at div
    at li
    at P (http://192.168.88.100:3001/_next/static/chunks/pages/index-b0f714149f1e785a.js:1:14892)
    at ul
    at L (http://192.168.88.100:3001/_next/static/chunks/pages/index-b0f714149f1e785a.js:1:17878)
    at div
    at D (http://192.168.88.100:3001/_next/static/chunks/pages/index-b0f714149f1e785a.js:1:18165)
    at div
    at div
    at Q (http://192.168.88.100:3001/_next/static/chunks/pages/index-b0f714149f1e785a.js:1:30972)
    at n (http://192.168.88.100:3001/_next/static/chunks/pages/index-b0f714149f1e785a.js:1:6177)
    at http://192.168.88.100:3001/_next/static/chunks/pages/_app-cdb2197abd3c9b3a.js:1:87716
    at V (http://192.168.88.100:3001/_next/static/chunks/pages/index-b0f714149f1e785a.js:1:29029)
    at div
    at div
    at te (http://192.168.88.100:3001/_next/static/chunks/pages/index-b0f714149f1e785a.js:1:34347)
    at a (http://192.168.88.100:3001/_next/static/chunks/pages/_app-cdb2197abd3c9b3a.js:1:70851)
    at s (http://192.168.88.100:3001/_next/static/chunks/pages/_app-cdb2197abd3c9b3a.js:1:71408)
    at u (http://192.168.88.100:3001/_next/static/chunks/pages/_app-cdb2197abd3c9b3a.js:1:70283)
    at http://192.168.88.100:3001/_next/static/chunks/pages/_app-cdb2197abd3c9b3a.js:1:87716
    at http://192.168.88.100:3001/_next/static/chunks/pages/_app-cdb2197abd3c9b3a.js:1:69564
    at l (http://192.168.88.100:3001/_next/static/chunks/pages/_app-cdb2197abd3c9b3a.js:1:1461)
    at n (http://192.168.88.100:3001/_next/static/chunks/pages/_app-cdb2197abd3c9b3a.js:1:61774)
    at r (http://192.168.88.100:3001/_next/static/chunks/main-d2b206db40ae9853.js:1:6948)
    at Y (http://192.168.88.100:3001/_next/static/chunks/main-d2b206db40ae9853.js:1:9190)
    at ie (http://192.168.88.100:3001/_next/static/chunks/main-d2b206db40ae9853.js:1:11830)

Other

No response

shamoon commented 1 year ago

Did you try the troubleshooting guide as linked to in the template?

https://gethomepage.dev/en/more/troubleshooting/

cpuks commented 1 year ago

Yes, I've got every other service up and running, also I can ping authentik container from homepage container image

cpuks commented 1 year ago

I'm ashamed but going through logs and everything I went to check yaml again and found error there - api instead of key - everything works now. Really sorry for that!

cpuks commented 1 year ago

Yes, sorry for that - maybe there should be and paragraph there - double check your config for spelling errors. I'm not trying to whiten myself but communictaion was okay between containers, homepage container -> authentik IP/URL (public and LAN) was ok in terms of PINGing. Then nothing was in the logs too. API error only showed a bunch of js errors. Nothing in the console so I ticked all boxes.

sob., 17 gru 2022 o 15:21 shamoon @.***> napisał(a):

Did you try the troubleshooting guide as linked to in the template?

https://gethomepage.dev/en/more/troubleshooting/

— Reply to this email directly, view it on GitHub https://github.com/benphelps/homepage/issues/690#issuecomment-1356278710, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFBWPY4JC7R4CW5IAIR2OI3WNXEAHANCNFSM6AAAAAATB7B5EM . You are receiving this because you authored the thread.Message ID: @.***>

-- Pozdrawiam / Kind Regards

Lukasz Miczka

github-actions[bot] commented 8 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns.