Day 14 of 30 - Error: [object Object]

Hi Postmasters -

Got an issue on Day 14 of the Challenge - setting up OAuth Authorization on the collection:

When I first ran it I got the GITHUB login UI - I ‘assume’ I entered the right credentials but all retries do not evoke the login dialog.

Here is my settings:

(Client ID & Secret confirmed)

…and the resulting error:

Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Postman/10.21.0 Chrome/100.0.4896.160 Electron/18.3.5 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Sec-Fetch-Site: none
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US
Cookie: _octo=GH1.1.2090046683.1704201039; preferred_color_mode=dark; tz=America%2FNew_York; _device_id=07635108b3b2245b4782a3b23ffeee7d; has_recent_activity=1; saved_user_sessions=24943626%3AYllvyx-RHWRfuKDZRKUZccyLv65Nr6SmUZwnl4VY9cihoXUw; user_session=Yllvyx-RHWRfuKDZRKUZccyLv65Nr6SmUZwnl4VY9cihoXUw; __Host-user_session_same_site=Yllvyx-RHWRfuKDZRKUZccyLv65Nr6SmUZwnl4VY9cihoXUw; tz=America%2FNew_York; color_mode=%7B%22color_mode%22%3A%22auto%22%2C%22light_theme%22%3A%7B%22name%22%3A%22light%22%2C%22color_mode%22%3A%22light%22%7D%2C%22dark_theme%22%3A%7B%22name%22%3A%22dark%22%2C%22color_mode%22%3A%22dark%22%7D%7D; logged_in=yes; dotcom_user=PoodleBytes; _gh_sess=<BUNCH-TEXT>
▶Response Headers
cache-control: no-cache
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.com/assets-cdn/worker/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com cdn.optimizely.com logx.optimizely.com/v1/events api.githubcopilot.com objects-origin.githubusercontent.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com objects-origin.githubusercontent.com; frame-ancestors 'self'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com support.github.com; img-src 'self' data: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.com/assets-cdn/worker/ gist.github.com/assets-cdn/worker/

content-type: text/html; charset=utf-8

date: Tue, 02 Jan 2024 13:26:21 GMT

location: https://oauth.pstmn.io/v1/browser-callback?error=redirect_uri_mismatch&error_description=The+redirect_uri+MUST+match+the+registered+callback+URL+for+this+application.&error_uri=https%3A%2F%2Fdocs.github.com%2Fapps%2Fmanaging-oauth-apps%2Ftroubleshooting-authorization-request-errors%2F%23redirect-uri-mismatch

referrer-policy: origin-when-cross-origin, strict-origin-when-cross-origin

server: GitHub.com

set-cookie: has_recent_activity=1; path=/; expires=Tue, 02 Jan 2024 14:26:21 GMT; secure; HttpOnly; SameSite=Lax

set-cookie: _gh_sess=<BUNCHA-TEXT>; path=/; secure; HttpOnly; SameSite=Lax
strict-transport-security: max-age=31536000; includeSubdomains; preload
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame
vary: Accept-Encoding, Accept, X-Requested-With
x-content-type-options: nosniff
x-frame-options: sameorigin
x-github-request-id: D534:87CD:BBC0B33:FFA14B2:65940EFD
x-xss-protection: 0

Error: [object Object]

Hey @flight-cosmologist-3 :wave:

Do you have the same callback URL entered in the GH app and the Auth Helper?

Are you doing this from the Web app or the desktop app?

YES!!! It was the call back URL !

**THANK you Danny ** - IDK how you saw that but good call!

(using desktop version)

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.