-
-
Notifications
You must be signed in to change notification settings - Fork 232
extend an existing token with refresh token grant: plain text in the source code? not! #600
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
Comments
Hi @srt10coupe I'am not sure about your concrete use case but in in general I would recommend to either provide the |
Hi @chriskapp, that's what I did too. 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? Or how else can I retrieve the new access token
These are my configurations, but all my tokens have only 2 days |
Hi,I found the following https://url.com/`public/consumer/app` Why is only the appKey provided and not the appSecret? Because that would solve my problem. |
@srt10coupe you can get the secret by requesting the detail endpoint s. |
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: