Skip to content
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

fix: oauth support in APIX when embedded in another app #1198

Merged
merged 18 commits into from
Oct 28, 2022
Merged

Conversation

jkaster
Copy link
Contributor

@jkaster jkaster commented Oct 28, 2022

Fixed a variety of path assumptions for the React app and extended OAuthScene to be more flexible and configurable

const appConfig = `{
"client_guid": "looker.api-explorer",
"redirect_uri": "${(window as any).location.origin}/oauth",
const appConfig = `// client_guid=${client_id}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

looks like Prism can correctly highlight this comment, so that's a bonus

@github-actions
Copy link
Contributor

APIX Tests

    1 files  ±0    86 suites  ±0   8m 14s ⏱️ + 1m 35s
409 tests ±0  396 ✔️ ±0  13 💤 ±0  0 ❌ ±0 
429 runs  ±0  416 ✔️ ±0  13 💤 ±0  0 ❌ ±0 

Results for commit 2c5796c. ± Comparison against base commit 39dc3bc.

@github-actions
Copy link
Contributor

Typescript Tests

    6 files    56 suites   4m 41s ⏱️
198 tests 194 ✔️   4 💤 0 ❌
490 runs  474 ✔️ 16 💤 0 ❌

Results for commit 2c5796c.

Copy link
Contributor

@josephaxisa josephaxisa left a comment

Choose a reason for hiding this comment

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

lgtm - thanks for getting this sorted!

@@ -104,7 +104,7 @@ export const fullify = (uri: string, baseUrl: string): string => {
return url.toString()
}
/**
* parse spec url into version and name for api_spec cccall
* parse spec url into version and name for api_spec call
Copy link
Contributor

Choose a reason for hiding this comment

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

🙀

@jkaster jkaster merged commit c464d2f into main Oct 28, 2022
@jkaster jkaster deleted the jk/fix_oauth branch October 28, 2022 18:52
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants