03-02-2018 01:52 - edited 03-02-2018 01:52
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-02-2018 01:52 - edited 03-02-2018 01:52
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Is there a way to set custom url parameters for the oauth url in the settings?
For google oauth i need :
access_type=offline
<Oauth
settingsKey="oauth" title="OAuth Login" label="OAuth" status="Login" authorizeUrl="https://accounts.google.com/o/oauth2/v2/auth" requestTokenUrl="https://www.googleapis.com/oauth2/v4/token" clientId="11111" clientSecret="asdfxxx" scope="profile" customParameter=myvalue />
Answered! Go to the Best Answer.
Accepted Solutions
03-02-2018 10:36
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


03-02-2018 10:36
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
<Oauth settingsKey="oauth" title="Google Authentication" label="Approve Access to Google" status={getDisplayWebAPIStatus(props)} authorizeUrl={CREDENTIALS.google_authorisation_url} requestTokenUrl={CREDENTIALS.google_access_token_url} clientId={CREDENTIALS.client_id} clientSecret={CREDENTIALS.client_secret} scope={CREDENTIALS.scope} pkce="true" oAuthParams={{ access_type : 'offline', prompt : 'consent'}} />
03-01-2018 05:06
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-01-2018 05:06
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Is there a way to get a Google Oauth refresh token? Im stuck, i only get the auth token with the settings login...
Google needs to request a access_type which is set to offline. where can i set this in the settings?
https://developers.google.com/identity/protocols/OAuth2WebServer

03-02-2018 00:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-02-2018 00:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
is there a way to set custom url parameters for the oauth url? For the google oauth i need :
access_type=offline
<Oauth
settingsKey="oauth" title="OAuth Login" label="OAuth" status="Login" authorizeUrl="https://accounts.google.com/o/oauth2/v2/auth" requestTokenUrl="https://www.googleapis.com/oauth2/v4/token" clientId="11111" clientSecret="asdfxxx" scope="profile" customParameter=myvalue />

03-02-2018 10:36
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


03-02-2018 10:36
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
<Oauth settingsKey="oauth" title="Google Authentication" label="Approve Access to Google" status={getDisplayWebAPIStatus(props)} authorizeUrl={CREDENTIALS.google_authorisation_url} requestTokenUrl={CREDENTIALS.google_access_token_url} clientId={CREDENTIALS.client_id} clientSecret={CREDENTIALS.client_secret} scope={CREDENTIALS.scope} pkce="true" oAuthParams={{ access_type : 'offline', prompt : 'consent'}} />
03-03-2018 01:23
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-03-2018 01:23
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Thanks for the reply. This was exactly what i was looking for. Works now like a charm. Will this be official, also in the docs?
