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

SSO Component after some time stops working #274

Open
gbasantis opened this issue Nov 26, 2024 · 4 comments
Open

SSO Component after some time stops working #274

gbasantis opened this issue Nov 26, 2024 · 4 comments
Assignees
Labels
bug Something isn't working SharePointSSOComponent

Comments

@gbasantis
Copy link

What sample tool are you using?
SharePointSSOComponent

Describe the bug
When I install it on site, it works. But, after some period of time (e.g one day), it stops working and the bot it keeps loading. The code error is 400 bad request, see attachments. it says that it recieves bad request on oauth2/v2.0/token endpoint. The important note is that If I uninstal the app from the site contents and install it again, then it works again. After one day it stops working again. It is like something expires every x ammount of time.

To Reproduce
Steps to reproduce the behavior:

  1. install the component
  2. see that it works.
  3. sign in again after 1-2 days
  4. see that it does not work.

Expected behavior
The expected behavior is to work every day.

Screenshots

Image
Image

@boniface-techcontractor5

We are experiencing this same issue, too. I'm finding errors in my browser's dev tools that implies issues with the token refresh:

{
    . . . 
    "error": "invalid_grant",
    "error_description": "AADSTS700084: The refresh token was issued to a single page app (SPA), and therefore has a fixed, limited lifetime of 1.00:00:00, which cannot be extended. It is now expired and a new sign in request must be sent by the SPA to the sign in page. The token was issued on 2024-11-25T20:40:34.5692496Z. Trace ID: 19bdd956-797a-4ef2-b899-xxxxxxxxxxxx Correlation ID: 46f4f41c-6b0f-413c-9953-xxxxxxxxxxxxx Timestamp: 2024-12-02 20:11:03Z",
    "error_codes": [
        700084
    ],
    . . .
} 

@boniface-techcontractor5

@gbasantis - could you add a label to this issue? SharePointSSOComponent

Also potentially assigning this to @adilei may help

@gbasantis
Copy link
Author

I am not able to add a label. I am only able to edit the title of the issue.

@adilei adilei self-assigned this Dec 31, 2024
@adilei adilei added the bug Something isn't working label Dec 31, 2024
@adilei
Copy link
Collaborator

adilei commented Dec 31, 2024

I've labeled this issue as a bug. I hope I can address this soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working SharePointSSOComponent
Projects
None yet
Development

No branches or pull requests

4 participants