Ceridan commented on issue #15081:
URL: https://github.com/apache/superset/issues/15081#issuecomment-858597271
You may set up PKCE by passing the `code_challange_method` in the
`client_kwargs`. Here is an example of the custom OAUTH provider setup. Be
sure, that your server-side is supports PKCE too.
```python
CUSTOM_OAUTH_PROVIDER = {
"name": "myAUTH",
"icon": "fa-empire",
"token_key": "access_token",
"remote_app": {
"client_id": os.environ["AUTH_KEY"],
"client_secret": os.environ["AUTH_SECRET"],
"api_base_url": "https://example.com",
"client_kwargs": {
"scope": "profile email",
"code_challenge_method": "S256",
},
"request_token_url": None,
"access_token_url": "https://example.com/token",
"authorize_url": "https://example.com/authorize",
},
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]