Skip to content

Add docs for refresh-token support to OAuth2#13009

Merged
Praveen2112 merged 1 commit intotrinodb:masterfrom
Praveen2112:praveen/docs/refresh_token
Jul 14, 2022
Merged

Add docs for refresh-token support to OAuth2#13009
Praveen2112 merged 1 commit intotrinodb:masterfrom
Praveen2112:praveen/docs/refresh_token

Conversation

@Praveen2112
Copy link
Copy Markdown
Member

Description

Is this change a fix, improvement, new feature, refactoring, or other?

Documentation for #12664

Is this a change to the core query engine, a connector, client library, or the SPI interfaces? (be specific)

Docs only.

How would you describe this change to a non-technical end user or system administrator?

Related issues, pull requests, and links

Documentation

( ) No documentation is needed.
(x) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.

Release notes

(x) No release notes entries required.
( ) Release notes entries required with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

@Praveen2112 Praveen2112 force-pushed the praveen/docs/refresh_token branch 2 times, most recently from 1a23d5c to 3b33bc5 Compare July 7, 2022 14:58
@Praveen2112
Copy link
Copy Markdown
Member Author

@mosabua Did some additional changes to extract refresh token flow under a separate section

Copy link
Copy Markdown
Member

@s2lomon s2lomon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

% comments

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rather go with something like: additional scopes for offline access might be required, depending on your IdP configuration

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

openid,offline_access [or offline] // openid is the default scope and when someone will remove it, idps will switch to OAuth2 flows, rather than openid (so potentially no things like groups handling etc.)

@Praveen2112 Praveen2112 force-pushed the praveen/docs/refresh_token branch from 3b33bc5 to b9624be Compare July 7, 2022 15:14
@Praveen2112
Copy link
Copy Markdown
Member Author

@s2lomon AC

@Praveen2112 Praveen2112 force-pushed the praveen/docs/refresh_token branch from b9624be to 569bb3b Compare July 7, 2022 17:11
@Praveen2112
Copy link
Copy Markdown
Member Author

@mosabua Thanks for the review. AC

@Praveen2112 Praveen2112 requested a review from mosabua July 7, 2022 17:12
Copy link
Copy Markdown
Member

@s2lomon s2lomon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm % small typo

@Praveen2112 Praveen2112 force-pushed the praveen/docs/refresh_token branch from 569bb3b to 09755e5 Compare July 8, 2022 13:16
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These 3 properties have default values as well so it's probably worth documenting it.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added them

@Praveen2112 Praveen2112 force-pushed the praveen/docs/refresh_token branch from 09755e5 to 554bc8c Compare July 11, 2022 10:45
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By default it's generated during startup.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added them

@Praveen2112 Praveen2112 force-pushed the praveen/docs/refresh_token branch from 554bc8c to 35bf4ed Compare July 13, 2022 07:42
@Praveen2112 Praveen2112 requested review from mosabua and removed request for mosabua July 13, 2022 07:43
Copy link
Copy Markdown
Member

@mosabua mosabua left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now. Lets get this shipped.

@Praveen2112 Praveen2112 merged commit 9b92233 into trinodb:master Jul 14, 2022
@github-actions github-actions bot added this to the 390 milestone Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants