Skip to content

Stille innlogging i mock-innloggingen - #20

Merged
andersgar merged 1 commit into
mainfrom
husk-innlogging
Oct 7, 2026
Merged

andersgar merged 1 commit into
mainfrom
husk-innlogging

Conversation

@andersgar

Copy link
Copy Markdown
Contributor

Bare for lokal utvikling (dev/mock-auth.ts):

  • Mock-en har nå en innloggingsøkt, slik at prompt=none fungerer.
  • Refresh-token gis bare når scopet inneholder offline_access, slik Authelia gjør.

npm test: 27 av 27 tester passerer.

The sites renew their login in a hidden frame with prompt=none. Picking a
user now starts a session in the mock, like Authelia's, which prompt=none
answers from (or with login_required), and a refresh token only comes
with offline_access, as with Authelia.
@andersgar
andersgar merged commit 874b60f into main Oct 7, 2026
1 check passed
@andersgar
andersgar deleted the husk-innlogging branch October 7, 2026 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant