PageSourceSearch

https://docs-pactflow-preview.netlify.app/assets/js/2f4d65f9.c335c523.js

js docs-pactflow-preview.netlify.app collected 2026-10-03 10:40:10 UTC 6,800 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpartners=self.webpackChunkpartners||[]).push([[4331],{15680:(e,t,o)=>{o.d(t,{xA:()=>u,yg:()=>h});var n=o(96540);function r(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function a(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function i(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?a(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function l(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)o=a[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)o=a[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}var c=n.createContext({}),s=function(e){var t=n.useContext(c),o=t;return e&&(o="function"==typeof e?e(t):i(i({},t),e)),o},u=function(e){var t=s(e.components);return n.createElement(c.Provider,{value:t},e.children)},p="mdxType",g={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var o=e.components,r=e.mdxType,a=e.originalType,c=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),p=s(o),d=r,h=p["".concat(c,".").concat(d)]||p[d]||g[d]||a;return o?n.createElement(h,i(i({ref:t},u),{},{components:o})):n.createElement(h,i({ref:t},u))}));function h(e,t){var o=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=o.length,i=new Array(a);i[0]=d;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l[p]="string"==typeof e?e:r,i[1]=l;for(var s=2;s<a;s++)i[s]=o[s];return n.createElement.apply(null,i)}return n.createElement.apply(null,o)}d.displayName="MDXCreateElement"},9669:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>g,frontMatter:()=>a,metadata:()=>l,toc:()=>s});var n=o(58168),r=(o(96540),o(15680));const a={id:"login-help",title:"Login"},i=void 0,l={unversionedId:"docs/login-help",id:"docs/login-help",title:"Login",description:"This section describes certain issues you might face while logging into PactFlow and explains how to resolve them.",source:"@site/docs/docs/login.md",sourceDirName:"docs",slug:"/docs/login-help",permalink:"/docs/login-help",draft:!1,editUrl:"https://github.com/pactflow/docs.pactflow.io/edit/master/website/docs/docs/login.md",tags:[],version:"current",lastUpdatedBy:"Matt Fellows",lastUpdatedAt:1702290100,formattedLastUpdatedAt:"Dec 11, 2023",frontMatter:{id:"login-help",title:"Login"},sidebar:"docs",previous:{title:"Glossary",permalink:"/docs/troubleshooting/glossary"},next:{title:"Authorization Errors",permalink:"/docs/authorization-help"}},c={},s=[{value:"<em>&quot;You are not authorized to access this Pactflow account&quot;</em>",id:"you-are-not-authorized-to-access-this-pactflow-account",level:2},{value:"1. Your email has not been confirmed",id:"1-your-email-has-not-been-confirmed",level:3},{value:"2. You have not been invited to the account",id:"2-you-have-not-been-invited-to-the-account",level:3},{value:"Github login error",id:"github-login-error",level:2},{value:"Getting a 401 Unauthorized when publishing or verifying pacts",id:"getting-a-401-unauthorized-when-publishing-or-verifying-pacts",level:2}],u={toc:s},p="wrapper";function g(e){let{components:t,...o}=e;return(0,r.yg)(p,(0,n.A)({},u,o,{components:t,mdxType:"MDXLayout"}),(0,r.yg)("p",null,"This section describes certain issues you might face while logging into PactFlow and explains how to resolve them."),(0,r.yg)("h2",{id:"you-are-not-authorized-to-access-this-pactflow-account"},(0,r.yg)("em",{parentName:"h2"},'"You are not authorized to access this Pactflow account"')),(0,r.yg)("p",null,"There are two reasons this error may occur:"),(0,r.yg)("h3",{id:"1-your-email-has-not-been-confirmed"},"1. Your email has not been confirmed"),(0,r.yg)("p",null,'Please check your inbox for an email with the subject "Verify your email" from ',(0,r.yg)("inlineCode",{parentName:"p"},"[email protected]"),' and choose "confirm my account".'),(0,r.yg)("p",null,"After this, you should be able to login."),(0,r.yg)("h3",{id:"2-you-have-not-been-invited-to-the-account"},"2. You have not been invited to the account"),(0,r.yg)("p",null,"Users who created the account (initial users) or received an invitation to an account are able to login."),(0,r.yg)("h2",{id:"github-login-error"},"Github login error"),(0,r.yg)("p",null,"If you get an ",(0,r.yg)("inlineCode",{parentName:"p"},'invalid_grant: {"error":"invalid_grant"}')," error while logging into PactFlow using Github, clear your browser cookies before logging in again."),(0,r.yg)("h2",{id:"getting-a-401-unauthorized-when-publishing-or-verifying-pacts"},"Getting a 401 Unauthorized when publishing or verifying pacts"),(0,r.yg)("p",null,"The most common reasons for API authentication failures are:"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"Using an old version of Pact library that does not support the PactFlow authentication scheme (bearer token authentication).",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},"To resolve this, make sure you are using the latest Pact library version for your language."))),(0,r.yg)("li",{parentName:"ol"},"Attempting to access the API with a username and password instead of an API token.",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},"To resolve this, please see the section on ",(0,r.yg)("a",{parentName:"li",href:"/#configuring-your-api-token"},"configuring your API token")))),(0,r.yg)("li",{parentName:"ol"},"Using a read-only token instead of a read/write token.",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},"To resolve this, please see the section on ",(0,r.yg)("a",{parentName:"li",href:"/#configuring-your-api-token"},"configuring your API token")," and ensure you have copied the read/write token.")))),(0,r.yg)("p",null,"Additionally, on September 11 of 2023, the basic authentication feature for legacy plans was ",(0,r.yg)("a",{parentName:"p",href:"https://docs.pactflow.io/notices/2023-06-05-legacy-plan-decommission/"},"decommissioned"),". See the ",(0,r.yg)("a",{parentName:"p",href:"https://docs.pactflow.io/notices/2023-06-05-legacy-plan-decommission/"},"guide")," on upgrading to a supported authentication mode."))}g.isMDXComponent=!0}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.