You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @srt10coupe I'am not sure about your concrete use case but in in general I would recommend to either provide the clientId and clientSecret through an environment variable or that the user always needs to enter the credentials on start of the app. I would then store the obtained access token so that the user only needs to enter the credentials, in case no valid access token is available. You can also configure the lifetime of the access token at the Fusio config, by default it is 2 days s. https://github.com/apioo/fusio/blob/master/configuration.php#L10
The user must log in. After 2 days the access token has expired. I have a refresh_token variable in it, but without client_id and client_secret the new access token is not retrieved.
I do not want the user to have to log in again and again, the access token should renew itself.
Now I have written my client_id and client_secret plain text in the source code of the app to debug, which I don't want to do in the release...
Is there a way to retrieve the client_id and client_secret via an API or so?
Or how else do I get the client_id client_secret in my app?
I can't write my clientID and clientSecret in plain text in my source code.
Saving user name and password in the keychain also makes no sense.
How can I retrieve the ClientID and ClientSecret from the server and save them in the keychain?
iOS / MacOS / Swift / SwiftUI
The text was updated successfully, but these errors were encountered: