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

Expire formio #279

Closed
wants to merge 2 commits into from
Closed

Expire formio #279

wants to merge 2 commits into from

Conversation

shuhaib-aot
Copy link
Contributor

Issue Tracking

JIRA:
Issue Type: BUG/ FEATURE

Changes

updated with jwt expire time

How has the change been tested?

Screenshots (if applicable)

Build Success screenshot (Till a CICD pipeline is set up)

Notes

// formio token refresh
let refreshFormioInterval;

const formioRefreshToken =()=>{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would only refresh token as anonymous Role

@@ -61,6 +62,7 @@ const initKeycloak = (store, ...rest) => {
// onAuthenticatedCallback();
done(null, KeycloakData);
refreshToken(store);
formioRefreshToken();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to Give the User Role Info as Well

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move Refresh Interval Calls to authenticate Formio after first token is created

@abhilash-aot
Copy link
Contributor

Will Reopen after develop Update with v4.0.5

arun-s-aot pushed a commit that referenced this pull request Jul 5, 2024
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.

2 participants