Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue: Entra ID User Disabeld Tokan Cach Expired, Password login stops working, SSHKey Keeps Working. #580

Open
2 tasks done
Jeroen-LWD opened this issue Oct 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Jeroen-LWD
Copy link

Jeroen-LWD commented Oct 10, 2024

Is there an existing issue for this?

  • I have searched the existing issues and found none that matched mine

Describe the issue

I whant to allow my Entra ID Users to login, to login on my Linux server.
After they leave the Company there accounts wil be disabeld so they cannot login annymore.

When testing this,
User can login, local account is created.
Then when disabeling the user in Entra ID, after a hour or 2 the cach wil expire and loggin in whit username and password wil no longer work.
Only the local account wil not expire, only the login cash, so when a user has uploaded his Public ssh key, they are stil able to login.

Steps to reproduce

Login, add public sshkey, disabel account, tray login whit key

System information and logs

authd 0.3.5~24.04

name: authd-msentraid
summary: MSEntra ID broker for authd
publisher: Canonical✓
store-url: https://snapcraft.io/authd-msentraid
license: GPL-3.0
description: |
This is the MS Entra ID broker snap for authd to provide MS Entra ID OIDC based authentication on
Ubuntu with authd.
services:
authd-msentraid: simple, enabled, active
snap-id: vS3oJLMss6lgWwoFcPqYDUA2HB20I1Dc
tracking: 0.x/edge
refresh-date: yesterday at 13:32 CEST
channels:
0.x/stable: 0.1+4fe9826.0f76acc 2024-10-02 (51) 18MB -
0.x/candidate: ↑
0.x/beta: ↑
0.x/edge: 0.1+0b5d024.21625c4 2024-10-07 (52) 18MB -
installed: 0.1+0b5d024.21625c4 (52) 18MB -

Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble

level=ERROR msg="could not refresh token: oauth2: "invalid_grant" "AADSTS50057: The user account is disabled.

Double check your logs

  • I have redacted any sensitive information from the logs
@Jeroen-LWD Jeroen-LWD added the bug Something isn't working label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant