- ABP Framework version: v5.0.0
- UI type: Angular
- DB provider: EF Core
- Identity Server Separated: yes hi every 1 or 2 second token refreshed call at "https://id.mydomain.com/connect/token" acquired I checked the expiration time. it is a few minutes later (5 or more) can you please answer these questions A- Is it necessary or it is a bug? B- If it is necessary can I increase the refresh time and how?
6 Answer(s)
-
0
Hello,
It seems a problem. Can you share the access token and refresh token response?
-
0
access_token : eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk2MzdDRDNENDI2RkUwQkJCNDYzREJBNkIwRjMwOTlDIiwidHlwIjoiYXQrand0In0.eyJuYmYiOjE2NDEzMTQ4NDQsImV4cCI6MTY3Mjg1MDg0NCwiaXNzIjoiaHR0cHM6Ly9pZC4ydHAuaXIiLCJhdWQiOiJUb3VyaXN0UGFuZWwiLCJjbGllbnRfaWQiOiJUb3VyaXN0UGFuZWxfQXBwIiwic3ViIjoiYzBmMjhiZTctM2Y3ZS04OTg2LTUxYzAtM2EwMTM3MjQ5MDRkIiwiYXV0aF90aW1lIjoxNjQxMjk3ODg4LCJpZHAiOiJsb2NhbCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2dpdmVubmFtZSI6ImFkbWluIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4iLCJnaXZlbl9uYW1lIjoiYWRtaW4iLCJyb2xlIjoiYWRtaW4iLCJwaG9uZV9udW1iZXIiOiIwOTEyMDMyMjg1NCIsInBob25lX251bWJlcl92ZXJpZmllZCI6IlRydWUiLCJlbWFpbCI6IjA5MTIwMzIyODU0QDJ0cC5pciIsImVtYWlsX3ZlcmlmaWVkIjoiVHJ1ZSIsIm5hbWUiOiJhZG1pbiIsInNpZCI6Ijc1NzBEMEZDNTE3QTIzNUJENkE2RENDODkzNDEzMjE1IiwiaWF0IjoxNjQxMzA2NzM4LCJzY29wZSI6WyJvcGVuaWQiLCJwcm9maWxlIiwicm9sZSIsImVtYWlsIiwicG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ZV9udW1iZXIiOiIwOTEyMDMyMjg1NCIsInBob25lX251bWJlcl92ZXJpZmllZCI6IlRydWUiLCJlbWFpbCI6IjA5MTIwMzIyODU0QDJ0cC5pciIsImVtYWlsX3ZlcmlmaWVkIjoiVHJ1ZSIsIm5hbWUiOiJhZG1pbiIsInNpZCI6Ijc1NzBEMEZDNTE3QTIzNUJENkE2RENDODkzNDEzMjE1IiwiaWF0IjoxNjQxMzE0OTAzLCJzY29wZSI6WyJvcGVuaWQiLCJwcm9maWxlIiwicm9sZSIsImVtYWlsIiwicGhvbmUiLCJUb3VyaXN0UGFuZWwiLCJvZmZsaW5lX2FjY2VzcyJdLCJhbXIiOlsicHdkIl19.Gd_fu4M6b7UOKi200-O0R_ahnGEopbNH-GgKIoZAsUGGF66PPdqaCv-69m7oRFFBq6kuMbJcxbIMIMx46QlqGz57hrmLR_H-0F7QVmGWVKfcTN2wqyn5KGwb3aJcZvtzhV99nFAST4Jx9kZkeEEhs-8m3pI40ty1-stuA1u99P04tfCt8Qr52YySAW1MnShCBp3KcJ0S7Z6-WyxzpEa7qLRK7nN1CXVJ-uh1CTNPAqSlmw60SZtRqgHvHdITFb2znoo2HVBnTNRCVZf5BqetjKFi1DmffPsr9WS3E-fjs76cijeFb9NlK8gX0mvQr71ryLiLhdbkWiklfNz2ODCYHA","expires_in":31536000,"token_type":"Bearer","refresh_token":"994625A468E347C5AC0D063F2606B6A34AD77815A0976BE099CD086E02F82665","scope":"openid profile role email phone TouristPanel offline_access"}
-
1
We use the
angular-ouath2-oidc
package for the authentication. So this problem is related to this package. Downgrading the RxJS version to v6 may be fixed the problem if you use RxJS 7. If the problem will not resolve, please provide the steps to reproduce in detail. -
0
Thanks a lot Downgrading the RxJS to 6.6.7 worked. I have been searching a lot for this proplem it takes almost a day for me. can we expect a fix for this problem in the upcoming update?
-
0
can we expect a fix for this problem in the upcoming update?
I don't know, you can report that by creating an issue to
angular-ouath2-oidc
repo. The problem should be fixed by the package authors.Thanks!